mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 07:26:46 +00:00
修复分类和标签首页
This commit is contained in:
@@ -10,7 +10,9 @@ import { DynamicLayout } from '@/themes/theme'
|
||||
*/
|
||||
export default function Category(props) {
|
||||
const theme = siteConfig('THEME', BLOG.THEME, props.NOTION_CONFIG)
|
||||
return <DynamicLayout theme={theme} layoutName='LayoutPostList' {...props} />
|
||||
return (
|
||||
<DynamicLayout theme={theme} layoutName='LayoutCategoryIndex' {...props} />
|
||||
)
|
||||
}
|
||||
|
||||
export async function getStaticProps({ locale }) {
|
||||
|
||||
Reference in New Issue
Block a user