updated meta data

This commit is contained in:
sunda 2021-11-10 16:47:04 +01:00
parent 272192103e
commit 1f897e78f9
3 changed files with 14 additions and 5 deletions

View File

@ -33,7 +33,10 @@
name="twitter:description" name="twitter:description"
content="Quality live programming from beyond the surveillance economy." content="Quality live programming from beyond the surveillance economy."
/> />
<meta name="twitter:image" content="https://i.ibb.co/vcyKrKw/twitter.jpg" /> <meta
name="twitter:image"
content="https://stream.undersco.re/static/meta.png"
/>
<meta property="og:title" content="Underscore Streams" /> <meta property="og:title" content="Underscore Streams" />
<meta <meta
@ -42,7 +45,7 @@
/> />
<meta <meta
property="og:image" property="og:image"
content="https://stream.underscore/static/meta.png" content="https://stream.undersco.re/static/meta.png"
/> />
<meta property="og:url" content="https://stream.underscore/" /> <meta property="og:url" content="https://stream.underscore/" />

View File

@ -1,10 +1,11 @@
import { h } from 'preact' import { h } from 'preact'
import { bool, string } from 'prop-types' import { bool, string } from 'prop-types'
import Helmet from 'react-helmet' 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 ( return (
<Helmet <Helmet
htmlAttributes={{ htmlAttributes={{
@ -23,7 +24,7 @@ function SEO({ description, title, metaImg: imgSrc, noindex }) {
}, },
{ {
property: 'og:url', property: 'og:url',
content: 'https://looseantenna.fm', content: 'https://stream.undersco.re/',
}, },
{ {
property: 'og:description', property: 'og:description',

View File

@ -1,4 +1,9 @@
export default { export default {
meta: {
title: 'Underscore streams',
description: 'Quality live programming from beyond the surveillance economy.',
img: 'https://stream.undersco.re/static/meta.png'
},
peertube_root: 'https://tv.undersco.re', peertube_root: 'https://tv.undersco.re',
EVENTS_API_URL: 'https://api.undersco.re', EVENTS_API_URL: 'https://api.undersco.re',