1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

use original image size

This commit is contained in:
Matthias Kretschmann 2018-11-22 22:07:37 +01:00
parent 898e56c2fd
commit 4cfc5069b7
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -17,7 +17,7 @@ const query = graphql`
edges {
node {
childImageSharp {
fixed {
original {
src
}
}
@ -125,7 +125,7 @@ const SEO = ({ title, description, slug, article }) => (
render={data => {
const siteMeta = data.site.siteMetadata
const shareImage =
data.shareImage.edges[0].node.childImageSharp.fixed.src
data.shareImage.edges[0].node.childImageSharp.original.src
title = title || siteMeta.siteTitle
description = description || siteMeta.siteDescription