From d6e1c3580299be807f7f2e5ec35b45871481de64 Mon Sep 17 00:00:00 2001 From: tangly Date: Wed, 19 Oct 2022 13:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=A1=B5=E6=98=BE=E7=A4=BAti?= =?UTF-8?q?tle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 3 +-- themes/hexo/LayoutCategory.js | 8 ++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.env.local b/.env.local index f8b077a7..dac45ac8 100644 --- a/.env.local +++ b/.env.local @@ -1,3 +1,2 @@ # 环境变量 @see https://www.nextjs.cn/docs/basic-features/environment-variables -NEXT_PUBLIC_VERSION=3.5.0 -NOTION_PAGE_ID=bee1fccfa3bd47a1a7be83cc71372d83 \ No newline at end of file +NEXT_PUBLIC_VERSION=3.5.0 \ No newline at end of file diff --git a/themes/hexo/LayoutCategory.js b/themes/hexo/LayoutCategory.js index 8c6854a1..c9c0c244 100644 --- a/themes/hexo/LayoutCategory.js +++ b/themes/hexo/LayoutCategory.js @@ -4,6 +4,10 @@ import LayoutBase from './LayoutBase' export const LayoutCategory = props => { const { tags, posts, category } = props return - - +
+ + {category} +
+ + }