Merge branch 'preview' into main

This commit is contained in:
tangly1024
2022-03-16 12:34:29 +08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ const BLOG = {
PATH: '', // leave this empty unless you want to deploy in a folder
POST_LIST_STYLE: 'page', // ['page','scroll] 文章列表样式:页码分页、单页滚动加载
POST_LIST_PREVIEW: false, // 是否在列表加载文章预览
POST_LIST_PREVIEW: process.env.NEXT_PUBLIC_POST_PREVIEW || 'false', // 是否在列表加载文章预览
POST_PREVIEW_LINES: 12, // 预览博客行数
POSTS_PER_PAGE: 6, // post counts per page
POSTS_SORT_BY: 'notion', // 排序方式 'date'按时间,'notion'由notion控制