From 1f897e78f915d182fd101deeab482f9f5a56ef6c Mon Sep 17 00:00:00 2001 From: sunda <> Date: Wed, 10 Nov 2021 16:47:04 +0100 Subject: [PATCH] updated meta data --- index.html | 7 +++++-- src/components/Seo/index.js | 7 ++++--- src/data/config.js | 5 +++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 71168a8..93ed96e 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,10 @@ name="twitter:description" content="Quality live programming from beyond the surveillance economy." /> - + diff --git a/src/components/Seo/index.js b/src/components/Seo/index.js index 6d66620..6f6eaa2 100644 --- a/src/components/Seo/index.js +++ b/src/components/Seo/index.js @@ -1,10 +1,11 @@ import { h } from 'preact' import { bool, string } from 'prop-types' import Helmet from 'react-helmet' +import config from '../../data/config' -const siteTitle = 'Underscore Streams' +const siteTitle = config.meta.title -function SEO({ description, title, metaImg: imgSrc, noindex }) { +function SEO({ description = config.meta.description, title, metaImg: imgSrc = config.meta.img, noindex }) { return (