1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +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 { site {
siteMetadata { siteMetadata {
siteUrl siteUrl
author author {
name
}
site_url: siteUrl site_url: siteUrl
} }
} }
@ -175,7 +177,7 @@ module.exports = {
description: feedContent(edge), description: feedContent(edge),
url: site.siteMetadata.siteUrl + edge.node.fields.slug, url: site.siteMetadata.siteUrl + edge.node.fields.slug,
categories: edge.node.frontmatter.tags, categories: edge.node.frontmatter.tags,
author: site.siteMetadata.author, author: site.siteMetadata.author.name,
guid: site.siteMetadata.siteUrl + edge.node.fields.slug guid: site.siteMetadata.siteUrl + edge.node.fields.slug
})) }))
}, },

View File

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

View File

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