伪静态&刷新缓存时间

This commit is contained in:
tangly1024
2022-12-07 12:52:58 +08:00
parent ac65dbc95c
commit 928585cbf2
14 changed files with 52 additions and 39 deletions

View File

@@ -224,8 +224,7 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
post.type &&
(post.type === 'Post' || post.type === 'Page') &&
(post.status === 'Published' || post.status === 'Invisible')
}
)
})
// Sort by date
if (BLOG.POSTS_SORT_BY === 'date') {