Skip to content

Commit 97d623d

Browse files
committed
it is working
1 parent da65f54 commit 97d623d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/seo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ function SEO({ description, lang, meta, title, url }) {
4949
},
5050
{
5151
property: `og:type`,
52-
content: website
53-
? website
52+
content: url
53+
? url
5454
: `https://fullstack-serverless-graphql.netlify.app/`,
5555
},
5656
{

src/templates/post.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ export default function Template({ data, pageContext }) {
1212
const { markdownRemark } = data // data.markdownRemark holds your post data
1313
const { frontmatter, html } = markdownRemark
1414
const { previous, next } = pageContext
15-
console.log("ddd", frontmatter.path)
1615
return (
1716
<Layout>
1817
<SEO
1918
title={frontmatter.title}
20-
website={`https://fullstack-serverless-graphql.netlify.app/${frontmatter.path}`}
19+
url={`https://fullstack-serverless-graphql.netlify.app/${frontmatter.path}`}
2120
/>
2221
<div className="flex justify-center x:flex-col">
2322
<div className="blog-post">

0 commit comments

Comments
 (0)