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.`, description: `Skynet is a decentralized file sharing and content distribution protocol.`,
author: `Nebulous`, author: `Nebulous`,
siteUrl: `https://siasky.net`, siteUrl: `https://siasky.net`,
image: `https://siasky.net/icons/icon-512x512.png`,
}, },
plugins: [ plugins: [
`gatsby-plugin-sass`, `gatsby-plugin-sass`,

View File

@ -19,6 +19,7 @@ function SEO({ lang, meta }) {
title title
author author
description description
image
} }
} }
} }
@ -48,6 +49,10 @@ function SEO({ lang, meta }) {
property: `og:type`, property: `og:type`,
content: `website`, content: `website`,
}, },
{
property: `og:image`,
content: site.siteMetadata.image,
},
{ {
name: `twitter:card`, name: `twitter:card`,
content: `summary`, content: `summary`,