add og:image
This commit is contained in:
parent
4cbccbc79e
commit
4379804cda
|
@ -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`,
|
||||||
|
|
|
@ -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`,
|
||||||
|
|
Reference in New Issue