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, // 显示用户自定义摘要,有预览时优先只展示预览