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