refactor: use metadata export for seo
This commit is contained in:
1 parent
1dfa80e8bd
commit
b6dac68f61
10 files changed
+227
-91
No files matched your search
@@ -2,6 +2,9 @@ import { Authors, allAuthors } from 'contentlayer/generated'
|
||||
import { Mdx } from '@/components/MDXComponents'
|
||||
import AuthorLayout from '@/layouts/AuthorLayout'
|
||||
import { coreContent } from 'pliny/utils/contentlayer'
|
||||
import { genPageMetadata } from 'app/seo'
|
||||
|
||||
export const metadata = genPageMetadata({ title: 'About' })
|
||||
|
||||
export default function Page() {
|
||||
const author = allAuthors.find((p) => p.slug === 'default') as Authors
|
||||
|
||||
Reference in new issue
Block a user