File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,9 @@ import { DynamicLayout } from '@/themes/theme'
10
10
*/
11
11
export default function Category ( props ) {
12
12
const theme = siteConfig ( 'THEME' , BLOG . THEME , props . NOTION_CONFIG )
13
- return < DynamicLayout theme = { theme } layoutName = 'LayoutPostList' { ...props } />
13
+ return (
14
+ < DynamicLayout theme = { theme } layoutName = 'LayoutCategoryIndex' { ...props } />
15
+ )
14
16
}
15
17
16
18
export async function getStaticProps ( { locale } ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { useRouter } from 'next/router'
12
12
const TagIndex = props => {
13
13
const router = useRouter ( )
14
14
const theme = siteConfig ( 'THEME' , BLOG . THEME , props . NOTION_CONFIG )
15
- return < DynamicLayout theme = { theme } layoutName = 'LayoutPostList ' { ...props } />
15
+ return < DynamicLayout theme = { theme } layoutName = 'LayoutTagIndex ' { ...props } />
16
16
}
17
17
18
18
export async function getStaticProps ( req ) {
You can’t perform that action at this time.
0 commit comments