Merge pull request #195 from tangly1024/bug-fix-next-list-type

next 主题  列表形式
This commit is contained in:
tangly1024
2022-04-22 13:08:15 +08:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ export const LayoutIndex = (props) => {
rightAreaSlot={rightAreaSlot}
{...props}
>
{BLOG.POST_LIST_TYPE !== 'page'
{BLOG.POST_LIST_STYLE !== 'page'
? <BlogPostListScroll {...props} showSummary={true} />
: <BlogPostListPage {...props} />
}

View File

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