Skip to content

Commit

Permalink
馃悰Fixed Open Graph using wrong attribute (#50)
Browse files Browse the repository at this point in the history
no issue

Use correct attribute `property` and not `name` 馃う鈥嶁檧
  • Loading branch information
RyoheiTomiyama authored and aileen committed May 1, 2019
1 parent 9a81ddf commit 5509979
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/common/meta/ArticleMeta.js
Expand Up @@ -29,15 +29,15 @@ const ArticleMetaGhost = ({ data, settings, canonical }) => {
<link rel="canonical" href={canonical} />

<meta property="og:site_name" content={settings.title} />
<meta name="og:type" content="article" />
<meta name="og:title"
<meta property="og:type" content="article" />
<meta property="og:title"
content={
ghostPost.og_title ||
ghostPost.meta_title ||
ghostPost.title
}
/>
<meta name="og:description"
<meta property="og:description"
content={
ghostPost.og_description ||
ghostPost.excerpt ||
Expand Down

0 comments on commit 5509979

Please sign in to comment.