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:
parent
f2edf6e8f4
commit
2bd87b068f
@ -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
|
||||
}))
|
||||
},
|
||||
|
@ -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" />
|
||||
|
||||
|
@ -14,7 +14,6 @@ const query = graphql`
|
||||
twitter
|
||||
github
|
||||
facebook
|
||||
avatar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user