archive只展示post类型

This commit is contained in:
tangly1024
2022-01-12 14:20:57 +08:00
parent 5b69aaa3a5
commit 90d3d65ee0

View File

@@ -9,7 +9,7 @@ import React, { useEffect } from 'react'
export async function getStaticProps () {
const from = 'index'
const { allPosts, categories, tags, postCount } =
await getGlobalNotionData({ from, includePage: true })
await getGlobalNotionData({ from })
return {
props: {