From a5d218be1972a1e1efb2106d7cfc5f33b16f9c0d Mon Sep 17 00:00:00 2001 From: tangly Date: Fri, 18 Nov 2022 13:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0LinkedIn=E7=A4=BE=E4=BA=A4?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 11 ++++++----- themes/hexo/components/SocialButton.js | 3 +++ themes/medium/components/SocialButton.js | 3 +++ themes/next/components/SocialButton.js | 3 +++ 4 files changed, 15 insertions(+), 5 deletions(-) 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 && }