tag 分页部分提交

This commit is contained in:
tangly1024
2022-11-11 14:21:49 +08:00
parent aa33febef4
commit 5c71941393
5 changed files with 41 additions and 19 deletions

View File

@@ -279,7 +279,7 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
const customNav = getCustomNav({ allPages })
const categories = getAllCategories({ allPages, categoryOptions, sliceCount: BLOG.PREVIEW_CATEGORY_COUNT })
const tags = getAllTags({ allPages, tagOptions, sliceCount: BLOG.PREVIEW_TAG_COUNT })
const tags = getAllTags({ allPages, tagOptions })
const latestPosts = getLatestPosts({ allPages, from, latestPostCount: 5 })
return {