From 2bd87b068f8460c20cc623e8a218ccd4cf1c6a52 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 1 Oct 2018 20:02:31 +0200 Subject: [PATCH] fix meta title --- gatsby-config.js | 6 ++++-- src/components/atoms/SEO.jsx | 4 ++-- src/components/molecules/Vcard.jsx | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 72249ad1..9a1937f4 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -160,7 +160,9 @@ module.exports = { site { siteMetadata { siteUrl - author + author { + name + } site_url: siteUrl } } @@ -175,7 +177,7 @@ module.exports = { description: feedContent(edge), url: site.siteMetadata.siteUrl + edge.node.fields.slug, categories: edge.node.frontmatter.tags, - author: site.siteMetadata.author, + author: site.siteMetadata.author.name, guid: site.siteMetadata.siteUrl + edge.node.fields.slug })) }, diff --git a/src/components/atoms/SEO.jsx b/src/components/atoms/SEO.jsx index 0f73414f..0a353834 100644 --- a/src/components/atoms/SEO.jsx +++ b/src/components/atoms/SEO.jsx @@ -91,8 +91,8 @@ const MetaTags = ({ siteMeta }) => ( diff --git a/src/components/molecules/Vcard.jsx b/src/components/molecules/Vcard.jsx index da03fec8..7bcbce31 100644 --- a/src/components/molecules/Vcard.jsx +++ b/src/components/molecules/Vcard.jsx @@ -14,7 +14,6 @@ const query = graphql` twitter github facebook - avatar } } }