mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-24 23:16:52 +00:00
dev:
微调
This commit is contained in:
@@ -29,7 +29,7 @@ export async function getStaticProps ({ params }) {
|
||||
const allPosts = await getAllPosts({ notionPageData, from })
|
||||
const categories = await getAllCategories(allPosts)
|
||||
const tagOptions = notionPageData.tagOptions
|
||||
const tags = await getAllTags({ allPosts, tagOptions })
|
||||
const tags = await getAllTags({ allPosts, tagOptions, sliceCount: 0 })
|
||||
const filteredPosts = allPosts.filter(
|
||||
post => post && post.tags && post.tags.includes(currentTag)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user