From 5e9744eaa2e6df8e49b38108f6679e68c7b85749 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Fri, 22 Apr 2022 13:04:29 +0800 Subject: [PATCH] =?UTF-8?q?next=20=E4=B8=BB=E9=A2=98=20=20=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/next/LayoutIndex.js | 2 +- themes/next/config_next.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/next/LayoutIndex.js b/themes/next/LayoutIndex.js index 896bcd75..c43dc3d3 100644 --- a/themes/next/LayoutIndex.js +++ b/themes/next/LayoutIndex.js @@ -16,7 +16,7 @@ export const LayoutIndex = (props) => { rightAreaSlot={rightAreaSlot} {...props} > - {BLOG.POST_LIST_TYPE !== 'page' + {BLOG.POST_LIST_STYLE !== 'page' ? : } diff --git a/themes/next/config_next.js b/themes/next/config_next.js index 66dfef6d..245399ca 100644 --- a/themes/next/config_next.js +++ b/themes/next/config_next.js @@ -5,7 +5,6 @@ const CONFIG_NEXT = { NAV_TYPE: 'normal', // ['fixed','autoCollapse','normal'] 分别是固定屏幕顶部、屏幕顶部自动折叠,不固定 - POST_LIST_TYPE: 'page', // ['page','scroll] 文章列表样式:页码分页、单页滚动加载 POST_LIST_COVER: false, // 文章列表显示封面图 POST_LIST_PREVIEW: true, // 显示文章预览 POST_LIST_SUMMARY: false, // 显示用户自定义摘要,有预览时优先只展示预览