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 && + + } }