Skip to content
Permalink
Browse files

🔍 Add Proper OpenGraph Tags Support

Fixes #11
  • Loading branch information
drwm-base authored and FWirtz committed Oct 31, 2019
1 parent 383e277 commit 08b8a58420d26b30a1dd9d41e3aa085d5c3d9b6e
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/components/seo.jsx
@@ -46,6 +46,10 @@ function SEO({
property: 'og:type',
content: 'website',
},
{
property: 'og:image',
content: 'https://raw.githubusercontent.com/openclimatefix/website/master/src/images/logo_dark_square%402x.png',
},
{
name: 'twitter:card',
content: 'summary',
@@ -62,6 +66,14 @@ function SEO({
name: 'twitter:description',
content: metaDescription,
},
{
name: 'twitter:image',
content: 'https://raw.githubusercontent.com/openclimatefix/website/master/src/images/logo_dark_square%402x.png',
},
{
name: 'twitter:site',
content: '@OpenClimateFix',
},
].concat(meta)}
/>
);

0 comments on commit 08b8a58

Please sign in to comment.
You can’t perform that action at this time.