修复分类和标签首页

This commit is contained in:
tangly1024.com
2024-12-02 14:01:18 +08:00
parent 439cebdbe6
commit 8c0318cc7b
2 changed files with 4 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import { useRouter } from 'next/router'
const TagIndex = props => {
const router = useRouter()
const theme = siteConfig('THEME', BLOG.THEME, props.NOTION_CONFIG)
return <DynamicLayout theme={theme} layoutName='LayoutPostList' {...props} />
return <DynamicLayout theme={theme} layoutName='LayoutTagIndex' {...props} />
}
export async function getStaticProps(req) {