1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-03 02:15:08 +01:00

another meta title fix

This commit is contained in:
Matthias Kretschmann 2018-10-24 15:05:35 +02:00
parent 5370c12698
commit 828e7549c9
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.title} ¦ ${siteMeta.siteDescription}`
title = `${postMeta.title} ¦ ${siteMeta.siteTitle}`
description = postMeta.description ? postMeta.description : post.excerpt
image = postMeta.image ? postMeta.image.childImageSharp.fluid.src : logo
postURL = `${siteMeta.siteUrl}${slug}`