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:
parent
898e56c2fd
commit
4cfc5069b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user