From 2df25e6bf9897c65cb52c08a417cae4abb825484 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 1 Mar 2022 12:51:44 +0800 Subject: [PATCH] =?UTF-8?q?NEXT=E4=B8=BB=E9=A2=98=EF=BC=8C=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=A0=87=E7=AD=BE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/Fukasawa/components/AsideLeft.js | 2 -- themes/NEXT/components/SideAreaRight.js | 2 +- themes/NEXT/config_next.js | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/themes/Fukasawa/components/AsideLeft.js b/themes/Fukasawa/components/AsideLeft.js index 2b46e616..a596ae27 100644 --- a/themes/Fukasawa/components/AsideLeft.js +++ b/themes/Fukasawa/components/AsideLeft.js @@ -9,8 +9,6 @@ import Catalog from './Catalog' function AsideLeft (props) { const { tags, currentTag, categories, currentCategory, post } = props - console.log(post) - return
diff --git a/themes/NEXT/components/SideAreaRight.js b/themes/NEXT/components/SideAreaRight.js index d7632936..b4f03826 100644 --- a/themes/NEXT/components/SideAreaRight.js +++ b/themes/NEXT/components/SideAreaRight.js @@ -46,7 +46,7 @@ const SideAreaRight = (props) => { {CONFIG_NEXT.RIGHT_CATEGORY_LIST && router.asPath !== '/category' && categories && (
-
{locale.COMMON.CATEGORY}
+
{locale.COMMON.CATEGORY}
{locale.COMMON.MORE} diff --git a/themes/NEXT/config_next.js b/themes/NEXT/config_next.js index 0b072eab..92fa0743 100644 --- a/themes/NEXT/config_next.js +++ b/themes/NEXT/config_next.js @@ -8,14 +8,14 @@ const CONFIG_NEXT = { POST_LIST_TYPE: 'page', // ['page','scroll] 文章列表样式:页码分页、单页滚动加载 POST_LIST_COVER: false, // 文章列表显示封面图 - POST_LIST_PREVIEW: true, // 显示文章预览 + POST_LIST_PREVIEW: false, // 显示文章预览 POST_LIST_SUMMARY: false, // 显示用户自定义摘要,有预览时优先只展示预览 // 右侧组件 - RIGHT_BAR: false, // 是否显示右侧栏 + RIGHT_BAR: true, // 是否显示右侧栏 RIGHT_LATEST_POSTS: false, // 右侧栏最新文章 - RIGHT_CATEGORY_LIST: false, // 右侧边栏文章分类列表 - RIGHT_TAG_LIST: false, // 右侧边栏标签分类列表 + RIGHT_CATEGORY_LIST: true, // 右侧边栏文章分类列表 + RIGHT_TAG_LIST: true, // 右侧边栏标签分类列表 RIGHT_AD: false, // 右侧广告 // 菜单