From b4e6aa2dc9a5f0dde012299257b5e87f1a6baf89 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 7 Jul 2023 21:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ebilibili+youtube=20=E7=A4=BE?= =?UTF-8?q?=E4=BA=A4=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 2 ++ themes/fukasawa/components/SocialButton.js | 6 ++++++ themes/hexo/components/SocialButton.js | 6 ++++++ themes/matery/components/SocialButton.js | 7 ++++++- themes/medium/components/SocialButton.js | 6 ++++++ themes/next/components/SocialButton.js | 6 ++++++ themes/simple/components/SocialButton.js | 6 ++++++ 7 files changed, 38 insertions(+), 1 deletion(-) diff --git a/blog.config.js b/blog.config.js index da297c0c..38e51fd0 100644 --- a/blog.config.js +++ b/blog.config.js @@ -29,6 +29,8 @@ const BLOG = { CONTACT_TELEGRAM: process.env.NEXT_PUBLIC_CONTACT_TELEGRAM || '', // 你的telegram 地址 例如 https://t.me/tangly_1024 CONTACT_LINKEDIN: process.env.NEXT_PUBLIC_CONTACT_LINKEDIN || '', // 你的linkedIn 首页 CONTACT_INSTAGRAM: process.env.NEXT_PUBLIC_CONTACT_INSTAGRAM || '', // 您的instagram地址 + CONTACT_BILIBILI: process.env.NEXT_PUBLIC_CONTACT_BILIBILI || '', // B站主页 + CONTACT_YOUTUBE: process.env.NEXT_PUBLIC_CONTACT_YOUTUBE || '', // Youtube主页 NOTION_HOST: process.env.NEXT_PUBLIC_NOTION_HOST || 'https://www.notion.so', // Notion域名,您可以选择用自己的域名进行反向代理,如果不懂得什么是反向代理,请勿修改此项 diff --git a/themes/fukasawa/components/SocialButton.js b/themes/fukasawa/components/SocialButton.js index e7039201..9bde6289 100644 --- a/themes/fukasawa/components/SocialButton.js +++ b/themes/fukasawa/components/SocialButton.js @@ -33,6 +33,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } } diff --git a/themes/hexo/components/SocialButton.js b/themes/hexo/components/SocialButton.js index ebc28542..e3305cee 100644 --- a/themes/hexo/components/SocialButton.js +++ b/themes/hexo/components/SocialButton.js @@ -33,6 +33,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } } diff --git a/themes/matery/components/SocialButton.js b/themes/matery/components/SocialButton.js index 71a5d9d4..6fc213a9 100644 --- a/themes/matery/components/SocialButton.js +++ b/themes/matery/components/SocialButton.js @@ -39,7 +39,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } - + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } } diff --git a/themes/medium/components/SocialButton.js b/themes/medium/components/SocialButton.js index 5f51033d..d33a0564 100644 --- a/themes/medium/components/SocialButton.js +++ b/themes/medium/components/SocialButton.js @@ -32,6 +32,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } } export default SocialButton diff --git a/themes/next/components/SocialButton.js b/themes/next/components/SocialButton.js index 139bb6d0..aa537563 100644 --- a/themes/next/components/SocialButton.js +++ b/themes/next/components/SocialButton.js @@ -33,6 +33,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } } diff --git a/themes/simple/components/SocialButton.js b/themes/simple/components/SocialButton.js index 85cbfb02..713a6de7 100644 --- a/themes/simple/components/SocialButton.js +++ b/themes/simple/components/SocialButton.js @@ -33,6 +33,12 @@ const SocialButton = () => { {BLOG.ENABLE_RSS && } + {BLOG.CONTACT_BILIBILI && + + } + {BLOG.CONTACT_YOUTUBE && + + } }