NEXT主题,分类标签调整

This commit is contained in:
tangly1024
2022-03-01 12:49:38 +08:00
parent 0b2046b658
commit b89177644f
10 changed files with 69 additions and 46 deletions

View File

@@ -8,7 +8,7 @@ export default function Category (props) {
export async function getStaticProps () {
const from = 'category-index-props'
const { allPosts, categories, tags, postCount, latestPosts, customNav } = await getGlobalNotionData({ from })
const { allPosts, categories, tags, postCount, latestPosts, customNav } = await getGlobalNotionData({ from, categoryCount: 0 })
return {
props: {