Fix social image

This commit is contained in:
Ines Montani 2019-03-26 18:27:40 +01:00
parent 9e14b2b69f
commit 2ed16d82bf

View File

@ -35,7 +35,7 @@ const SEO = ({ description, lang, title, section, sectionTitle, bodyClass }) =>
siteMetadata.slogan, siteMetadata.slogan,
sectionTitle sectionTitle
) )
const socialImage = getImage(section) const socialImage = siteMetadata.siteUrl + getImage(section)
const meta = [ const meta = [
{ {
name: 'description', name: 'description',
@ -126,6 +126,7 @@ const query = graphql`
title title
description description
slogan slogan
siteUrl
social { social {
twitter twitter
} }