From 097874bb54378b0f197736c7830d1632f1a35209 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 7 Dec 2018 10:11:59 +0100 Subject: [PATCH] fix --- src/components/atoms/SEO.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/atoms/SEO.jsx b/src/components/atoms/SEO.jsx index 0661847..b06b5e9 100644 --- a/src/components/atoms/SEO.jsx +++ b/src/components/atoms/SEO.jsx @@ -50,7 +50,6 @@ const SEO = ({ project }) => ( const meta = data.dataYaml const title = project.title || meta.title - const tagline = meta.tagline const description = project.description ? truncate.apply(project.description, [320, true]) : truncate.apply(meta.description, [320, true]) @@ -61,8 +60,8 @@ const SEO = ({ project }) => ( return ( <Helmet - defaultTitle={`${title.toLowerCase()} { ${tagline.toLowerCase()} }`} - titleTemplate={`%s // ${title.toLowerCase()} { ${tagline.toLowerCase()} }`} + defaultTitle={`${meta.title.toLowerCase()} { ${meta.tagline.toLowerCase()} }`} + titleTemplate={`%s // ${meta.title.toLowerCase()} { ${meta.tagline.toLowerCase()} }`} > <html lang="en" />