From 4379804cdaae6156c1b4f44d5f1036a8cc113a36 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 23 Apr 2020 18:44:09 +0200 Subject: [PATCH] add og:image --- gatsby-config.js | 1 + src/components/seo.js | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index 7947ec05..c898b7e5 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -4,6 +4,7 @@ module.exports = { description: `Skynet is a decentralized file sharing and content distribution protocol.`, author: `Nebulous`, siteUrl: `https://siasky.net`, + image: `https://siasky.net/icons/icon-512x512.png`, }, plugins: [ `gatsby-plugin-sass`, diff --git a/src/components/seo.js b/src/components/seo.js index f2239c1b..8b69f005 100644 --- a/src/components/seo.js +++ b/src/components/seo.js @@ -19,6 +19,7 @@ function SEO({ lang, meta }) { title author description + image } } } @@ -48,6 +49,10 @@ function SEO({ lang, meta }) { property: `og:type`, content: `website`, }, + { + property: `og:image`, + content: site.siteMetadata.image, + }, { name: `twitter:card`, content: `summary`,