mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-03 02:15:08 +01:00
fix post meta titles
This commit is contained in:
parent
0702e0e001
commit
4e83d10569
@ -147,7 +147,7 @@ const SEO = ({ post, slug, postSEO }) => (
|
||||
|
||||
if (postSEO) {
|
||||
const postMeta = post.frontmatter
|
||||
title = `${postMeta.siteTitle} ¦ ${siteMeta.siteDescription}`
|
||||
title = `${postMeta.title} ¦ ${siteMeta.siteDescription}`
|
||||
description = postMeta.description ? postMeta.description : post.excerpt
|
||||
image = postMeta.image ? postMeta.image.childImageSharp.fluid.src : logo
|
||||
postURL = `${siteMeta.siteUrl}${slug}`
|
||||
|
Loading…
Reference in New Issue
Block a user