diff --git a/blog.config.js b/blog.config.js index 136e8e7b..e42b1faf 100644 --- a/blog.config.js +++ b/blog.config.js @@ -52,11 +52,12 @@ const BLOG = { PREVIEW_TAG_COUNT: 16, // 首页最多展示的标签数量,0为不限制 // 社交链接,不需要可留空白,例如 CONTACT_WEIBO:'' - CONTACT_EMAIL: 'mail@tangly1024.com', - CONTACT_WEIBO: '', - CONTACT_TWITTER: '', - CONTACT_GITHUB: 'https://github.com/tangly1024', - CONTACT_TELEGRAM: '', + CONTACT_EMAIL: 'mail@tangly1024.com', // 邮箱 + CONTACT_WEIBO: '', // 你的微博个人主页 + CONTACT_TWITTER: '', // 你的twitter个人主页 + CONTACT_GITHUB: 'https://github.com/tangly1024', // 你的github个人主页 + CONTACT_TELEGRAM: '', // 你的telegram 地址 例如 https://t.me/tangly_1024 + CONTACT_LINKEDIN: '', // 你的linkedIn 首页 // 鼠标点击烟花特效 FIREWORKS: process.env.NEXT_PUBLIC_FIREWORKS || false, // 鼠标点击烟花特效 diff --git a/themes/hexo/components/SocialButton.js b/themes/hexo/components/SocialButton.js index 15d29dff..84bc85b2 100644 --- a/themes/hexo/components/SocialButton.js +++ b/themes/hexo/components/SocialButton.js @@ -18,6 +18,9 @@ const SocialButton = () => { {BLOG.CONTACT_TELEGRAM && } + {BLOG.CONTACT_LINKEDIN && + + } {BLOG.CONTACT_WEIBO && } diff --git a/themes/medium/components/SocialButton.js b/themes/medium/components/SocialButton.js index d30a4434..361d7470 100644 --- a/themes/medium/components/SocialButton.js +++ b/themes/medium/components/SocialButton.js @@ -17,6 +17,9 @@ const SocialButton = () => { {BLOG.CONTACT_TELEGRAM && } + {BLOG.CONTACT_LINKEDIN && + + } {BLOG.CONTACT_WEIBO && } diff --git a/themes/next/components/SocialButton.js b/themes/next/components/SocialButton.js index 2d3a3a40..5557e88e 100644 --- a/themes/next/components/SocialButton.js +++ b/themes/next/components/SocialButton.js @@ -18,6 +18,9 @@ const SocialButton = () => { {BLOG.CONTACT_TELEGRAM && } + {BLOG.CONTACT_LINKEDIN && + + } {BLOG.CONTACT_WEIBO && }