1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 09:13:35 +01:00

fix meta title

This commit is contained in:
Matthias Kretschmann 2018-10-01 20:02:31 +02:00
parent f2edf6e8f4
commit 2bd87b068f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 6 additions and 5 deletions

View File

@ -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
}))
},

View File

@ -91,8 +91,8 @@ const MetaTags = ({
siteMeta
}) => (
<Helmet
defaultTitle={`${siteMeta.title} ¦ ${siteMeta.tagline}`}
titleTemplate={`%s ¦ ${siteMeta.title}`}
defaultTitle={`${siteMeta.siteTitle} ¦ ${siteMeta.siteDescription}`}
titleTemplate={`%s ¦ ${siteMeta.siteTitle}`}
>
<html lang="en" />

View File

@ -14,7 +14,6 @@ const query = graphql`
twitter
github
facebook
avatar
}
}
}