Use deconstructed slug
This commit is contained in:
parent
5603b0e236
commit
e68f6c38b1
@ -18,7 +18,7 @@ export default function PostLayout({ children, frontMatter, next, prev }) {
|
||||
|
||||
return (
|
||||
<SectionContainer>
|
||||
<BlogSeo url={`${siteMetadata.siteUrl}/blog/${frontMatter.slug}`} {...frontMatter} />
|
||||
<BlogSeo url={`${siteMetadata.siteUrl}/blog/${slug}`} {...frontMatter} />
|
||||
<article>
|
||||
<div className="xl:divide-y xl:divide-gray-200 xl:dark:divide-gray-700">
|
||||
<header className="pt-6 xl:pb-6">
|
||||
|
Loading…
x
Reference in New Issue
Block a user