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