Skip to content

Commit

Permalink
Merge pull request timlrx#85 from aloisdg/patch-1
Browse files Browse the repository at this point in the history
Use deconstructed slug
  • Loading branch information
timlrx authored Jun 23, 2021
2 parents 459e2a4 + 73cb48f commit 4d23bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/PostLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 4d23bae

Please sign in to comment.