From 917d3f2e63150245c4d851e0cc3231aaad365ca1 Mon Sep 17 00:00:00 2001 From: tangly Date: Thu, 25 Nov 2021 16:44:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 4 ++-- components/RecommendPosts.js | 6 +++--- components/RewardButton.js | 6 +++--- layouts/BaseLayout.js | 2 +- pages/article/[slug].js | 12 ++---------- 5 files changed, 11 insertions(+), 19 deletions(-) diff --git a/blog.config.js b/blog.config.js index a82b36fd..c4b4c886 100644 --- a/blog.config.js +++ b/blog.config.js @@ -8,7 +8,7 @@ const BLOG = { notionPageId: process.env.NOTION_PAGE_ID || 'bee1fccfa3bd47a1a7be83cc71372d83', // Important page_id!!! notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public appearance: 'auto', // ['light', 'dark', 'auto'], - font: 'font-sans', // ['font-sans', 'font-serif', 'font-mono'] + font: 'font-serif', // ['font-sans', 'font-serif', 'font-mono'] lightBackground: '#ffffff', // use hex value, don't forget '#' e.g #fffefc darkBackground: '#111827', // use hex value, don't forget '#' path: '', // leave this empty unless you want to deploy in a folder @@ -58,7 +58,7 @@ const BLOG = { } }, isProd: process.env.VERCEL_ENV === 'production', // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) - googleAdsenseId: 'ca-pub-2708419466378217', + googleAdsenseId: 'ca-pub-2708419466378217', //谷歌广告ID DaoVoiceId: '', // 在线聊天 DaoVoice http://dashboard.daovoice.io/get-started TidioId: '8lgekxyr9hr9m7archbs0a4a2gu9ckbg' // 在线聊天 https://www.tidio.com/ } diff --git a/components/RecommendPosts.js b/components/RecommendPosts.js index 9eed4277..ccec996d 100644 --- a/components/RecommendPosts.js +++ b/components/RecommendPosts.js @@ -34,11 +34,11 @@ const RecommendPosts = ({ currentPost, totalPosts }) => { filteredPosts = filteredPosts.slice(0, 5) } - return
-

推荐文章

+ return
+

相关推荐

diff --git a/components/RewardButton.js b/components/RewardButton.js index e0b12354..f431ca1a 100644 --- a/components/RewardButton.js +++ b/components/RewardButton.js @@ -16,10 +16,10 @@ const RewardButton = () => { setPopoverShow(false) } return ( -
-
+
+
- 打赏 + 打赏一杯咖啡