1
0
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:
Matthias Kretschmann 2018-10-24 14:55:07 +02:00
parent 0702e0e001
commit 4e83d10569
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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}`