From 88d1e0742accb429ad89a64408c67c21f7bd0352 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 2 Dec 2021 17:43:18 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=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 | 2 +- components/BlogPostArchive.js | 2 +- components/BlogPostCard.js | 36 +++++++++++++++++++---------------- components/MenuButtonGroup.js | 3 ++- components/RecommendPosts.js | 5 ++++- components/SideBar.js | 36 +++++++++++++++++------------------ components/Toc.js | 7 +++---- components/TocDrawer.js | 7 ++++--- components/TocDrawerButton.js | 9 ++++++--- lib/lang/en-US.js | 3 ++- lib/lang/zh-CN.js | 3 ++- pages/404.js | 3 ++- 12 files changed, 65 insertions(+), 51 deletions(-) diff --git a/blog.config.js b/blog.config.js index 2b8432be..5890e0ac 100644 --- a/blog.config.js +++ b/blog.config.js @@ -9,7 +9,7 @@ const BLOG = { notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public defaultImgCover: 'https://avatars.githubusercontent.com/u/15920488', // default image cover appearance: 'auto', // ['light', 'dark', 'auto'], - font: 'font-serif', // ['font-sans', 'font-serif', 'font-mono'] + 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 diff --git a/components/BlogPostArchive.js b/components/BlogPostArchive.js index c37b2722..e4ddf742 100644 --- a/components/BlogPostArchive.js +++ b/components/BlogPostArchive.js @@ -14,7 +14,7 @@ const BlogPostArchive = ({ posts = [], archiveTitle }) => { return <> } else { return
-
{archiveTitle}
+
{archiveTitle}
{/* 文章列表 */}