Compare commits

..

2 Commits

Author SHA1 Message Date
Stephan Dörfler e5b647ddbc fixed Dockerfile capitalization
continuous-integration/drone/push Build is failing Details
2020-02-10 18:43:35 +01:00
Stephan Dörfler 82686d0e5b refined article descriptions texts 2020-02-10 18:41:58 +01:00
6 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: Deployment Reflection title: Deployment Reflection
date: "2020-01-21T18:04:37.149Z" date: "2020-01-21T18:04:37.149Z"
description: Deployment of the Blog description: Technologies used for building and running the Blog
--- ---
It took some time, but I figured as I only got around to deploy the blog just now, I could use the opportunity and just document what I'm doing. So here is a blog post describing how the blog it is hosted in is built and deployed. It took some time, but I figured as I only got around to deploy the blog just now, I could use the opportunity and just document what I'm doing. So here is a blog post describing how the blog it is hosted in is built and deployed.

View File

@ -1,7 +1,7 @@
--- ---
title: Adding Content title: Adding Content
date: "2020-01-27T15:38:26.882Z" date: "2020-01-27T15:38:26.882Z"
description: Bring the content online description: How I automated everything between writing an article and updating the blog itself
--- ---
# Writing # Writing

View File

@ -2,8 +2,9 @@ module.exports = {
siteMetadata: { siteMetadata: {
title: `While False Blog`, title: `While False Blog`,
author: `Stephan Dörfler`, author: `Stephan Dörfler`,
description: `Self-built blog based on gatsby.`, description: `Self-built developer blog based on gatsby.`,
siteUrl: `https://blog.while-false.de/`, url: `https://blog.while-false.de`,
}, },
plugins: [ plugins: [
{ {

View File

@ -19,6 +19,7 @@ function SEO({ description, lang, meta, title }) {
title title
description description
author author
type
} }
} }
} }
@ -26,6 +27,7 @@ function SEO({ description, lang, meta, title }) {
) )
const metaDescription = description || site.siteMetadata.description const metaDescription = description || site.siteMetadata.description
const metaType = `website` || site.siteMetadata.type
return ( return (
<Helmet <Helmet
@ -49,7 +51,7 @@ function SEO({ description, lang, meta, title }) {
}, },
{ {
property: `og:type`, property: `og:type`,
content: `website`, content: metaType,
}, },
].concat(meta)} ].concat(meta)}
> >
@ -61,7 +63,7 @@ function SEO({ description, lang, meta, title }) {
SEO.defaultProps = { SEO.defaultProps = {
lang: `en`, lang: `en`,
meta: [], meta: [],
description: ``, description: `A selfmade developer blog.`,
} }
SEO.propTypes = { SEO.propTypes = {

View File

@ -17,6 +17,7 @@ class BlogPostTemplate extends React.Component {
<SEO <SEO
title={post.frontmatter.title} title={post.frontmatter.title}
description={post.frontmatter.description || post.excerpt} description={post.frontmatter.description || post.excerpt}
type='article'
/> />
<article> <article>
<header> <header>