fix blog seo
This commit is contained in:
parent
11776b2e29
commit
07faf4dd00
@ -10,21 +10,20 @@ export async function getStaticProps() {
|
||||
}
|
||||
|
||||
export default function Blog({ posts }) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<NextSeo
|
||||
title={`Blog - ${siteMetadata.name}`}
|
||||
title={`Blog - ${siteMetadata.author}`}
|
||||
description={siteMetadata.description}
|
||||
canonical={`${siteMetadata.siteUrl}/blog`}
|
||||
openGraph={{
|
||||
url: `${siteMetadata.siteUrl}/blog`,
|
||||
title: `Blog - ${siteMetadata.name}`,
|
||||
title: `Blog - ${siteMetadata.author}`,
|
||||
description: siteMetadata.description,
|
||||
}}
|
||||
/>
|
||||
|
||||
<ListLayout posts={posts} title="All Posts"/>
|
||||
|
||||
<ListLayout posts={posts} title="All Posts" />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user