Skip to content

Commit bac7c77

Browse files
Update post.js
1 parent ec6ad7f commit bac7c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Post = ({ data, pageContext }) => {
1414
return (
1515
<Layout>
1616
<Helmet title={`${post.frontmatter.title} React Hook - useHooks`}>
17-
<link rel="canonical" href={`https://usehooks.com/${post.fields.slug}/`} />
17+
<link rel="canonical" href={`https://usehooks.com${post.fields.slug}`} />
1818
<meta property="og:title" content={post.frontmatter.title} />
1919
<meta property="og:description" content="" />
2020
<meta name="twitter:card" content="summary_large_image" />

0 commit comments

Comments
 (0)