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 {
|
edges {
|
||||||
node {
|
node {
|
||||||
childImageSharp {
|
childImageSharp {
|
||||||
fixed {
|
original {
|
||||||
src
|
src
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@ const SEO = ({ title, description, slug, article }) => (
|
|||||||
render={data => {
|
render={data => {
|
||||||
const siteMeta = data.site.siteMetadata
|
const siteMeta = data.site.siteMetadata
|
||||||
const shareImage =
|
const shareImage =
|
||||||
data.shareImage.edges[0].node.childImageSharp.fixed.src
|
data.shareImage.edges[0].node.childImageSharp.original.src
|
||||||
|
|
||||||
title = title || siteMeta.siteTitle
|
title = title || siteMeta.siteTitle
|
||||||
description = description || siteMeta.siteDescription
|
description = description || siteMeta.siteDescription
|
||||||
|
Loading…
Reference in New Issue
Block a user