add og:image

This commit is contained in:
Karol Wypchlo 2020-04-23 18:44:09 +02:00
parent 4cbccbc79e
commit 4379804cda
2 changed files with 6 additions and 0 deletions

View File

@ -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`,

View File

@ -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`,