mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
archive只展示post类型
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user