From 20719d8703e70efb62b4ec426fe8071fd8e32b27 Mon Sep 17 00:00:00 2001 From: Vixcity <2091283625@qq.com> Date: Fri, 28 Jul 2023 15:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BC=80=E5=A7=8B=E9=98=85?= =?UTF-8?q?=E8=AF=BB=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 3 ++- themes/hexo/components/Hero.js | 2 +- themes/matery/components/Hero.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/blog.config.js b/blog.config.js index a1f3d83f..b6868841 100644 --- a/blog.config.js +++ b/blog.config.js @@ -91,7 +91,8 @@ const BLOG = { // 侧栏布局 是否反转(左变右,右变左) 已支持主题: hexo next medium fukasawa example LAYOUT_SIDEBAR_REVERSE: false, - SHOW_START_READING: true, // 是否展示开始阅读按钮 + // 是否展示开始阅读按钮 + SHOW_START_READING: false, // 一个小插件展示你的facebook fan page~ @see https://tw.andys.pro/article/add-facebook-fanpage-notionnext FACEBOOK_PAGE_TITLE: process.env.NEXT_PUBLIC_FACEBOOK_PAGE_TITLE || null, // 邊欄 Facebook Page widget 的標題欄,填''則無標題欄 e.g FACEBOOK 粉絲團' diff --git a/themes/hexo/components/Hero.js b/themes/hexo/components/Hero.js index d490608b..ad28362f 100644 --- a/themes/hexo/components/Hero.js +++ b/themes/hexo/components/Hero.js @@ -68,7 +68,7 @@ const Hero = props => { {/* 滚动按钮 */}
-
{CONFIG.HOME_NAV_BACKGROUND_IMG_FIXED && locale.COMMON.START_READING}
+
{CONFIG.SHOW_START_READING && locale.COMMON.START_READING}
diff --git a/themes/matery/components/Hero.js b/themes/matery/components/Hero.js index 7f0d6467..a7157b68 100644 --- a/themes/matery/components/Hero.js +++ b/themes/matery/components/Hero.js @@ -61,7 +61,7 @@ const Hero = props => { {/* 滚动按钮 */}
{ window.scrollTo({ top: wrapperTop, behavior: 'smooth' }) }} className="mt-12 border cursor-pointer w-40 text-center pt-4 pb-3 text-md text-white hover:bg-orange-600 duration-300 rounded-3xl z-40"> - {CONFIG.HOME_NAV_BACKGROUND_IMG_FIXED && locale.COMMON.START_READING} + {CONFIG.SHOW_START_READING && locale.COMMON.START_READING}