diff --git a/blog.config.js b/blog.config.js index 8a94df4c..330a8aed 100644 --- a/blog.config.js +++ b/blog.config.js @@ -5,13 +5,15 @@ const BLOG = { link: 'https://tangly1024.com', description: '唐风集里,收卷波澜', lang: 'zh-CN', // ['zh-CN','en-US'] + 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'] 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 since: 2020, // if leave this empty, current year will be used. - postsPerPage: 9, + postsPerPage: 6, // post counts per page sortByDate: false, showAbout: true, // WIP showArchive: true, // WIP @@ -21,8 +23,6 @@ const BLOG = { keywords: ['Blog', 'Website', 'Notion'], googleSiteVerification: '' // Remove the value or replace it with your own google site verification code }, - notionPageId: process.env.NOTION_PAGE_ID || 'bee1fccfa3bd47a1a7be83cc71372d83', // DO NOT CHANGE THIS!!! - notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public analytics: { provider: 'ga', // Currently we support Google Analytics and Ackee, please fill with 'ga' or 'ackee', leave it empty to disable it. ackeeConfig: { diff --git a/components/Pagination.js b/components/Pagination.js index e9a2391c..1a26bcd9 100644 --- a/components/Pagination.js +++ b/components/Pagination.js @@ -26,7 +26,7 @@ const Pagination = ({ page, showNext }) => { > @@ -39,7 +39,7 @@ const Pagination = ({ page, showNext }) => { }> diff --git a/components/SideBarResponsive.js b/components/SideBarResponsive.js index 020116bb..49c666af 100644 --- a/components/SideBarResponsive.js +++ b/components/SideBarResponsive.js @@ -38,8 +38,8 @@ const SideBarResponsive = ({ tags, currentTag, post }) => { {/* 联系 */}
联系我 -
-  Fuzhou, China +
+  Fuzhou, China
diff --git a/components/SocialButton.js b/components/SocialButton.js index 2f091427..c101a3d3 100644 --- a/components/SocialButton.js +++ b/components/SocialButton.js @@ -7,7 +7,7 @@ import React from 'react' */ const SocialButton = () => { return
-
+
diff --git a/components/TopNav.js b/components/TopNav.js index 8b5af059..2eabadf7 100644 --- a/components/TopNav.js +++ b/components/TopNav.js @@ -30,7 +30,7 @@ const TopNav = ({ tags, currentTag, post }) => { } return ( -
+ diff --git a/layouts/ArticleLayout.js b/layouts/ArticleLayout.js index c9df88f9..63a7dd43 100644 --- a/layouts/ArticleLayout.js +++ b/layouts/ArticleLayout.js @@ -44,24 +44,22 @@ const ArticleLayout = ({ {/* live2d 看板娘 */} -