From fb4b93d5f149c7e424cb43fda676223c70ac3bea Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 15 Oct 2021 09:26:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 2 +- components/SideBar.js | 16 ++++++++++------ layouts/IndexLayout.js | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/blog.config.js b/blog.config.js index 330a8aed..132f810d 100644 --- a/blog.config.js +++ b/blog.config.js @@ -13,7 +13,7 @@ const BLOG = { 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: 6, // post counts per page + postsPerPage: 8, // post counts per page sortByDate: false, showAbout: true, // WIP showArchive: true, // WIP diff --git a/components/SideBar.js b/components/SideBar.js index 67dae1ff..fd641d46 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -5,19 +5,23 @@ import TagList from '@/components/TagList' const SideBar = ({ tags, currentTag, post }) => { return