refined article descriptions texts
This commit is contained in:
parent
ba7721a1dd
commit
82686d0e5b
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Deployment Reflection
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: Adding Content
|
||||
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
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@ module.exports = {
|
|||
siteMetadata: {
|
||||
title: `While False Blog`,
|
||||
author: `Stephan Dörfler`,
|
||||
description: `Self-built blog based on gatsby.`,
|
||||
siteUrl: `https://blog.while-false.de/`,
|
||||
description: `Self-built developer blog based on gatsby.`,
|
||||
url: `https://blog.while-false.de`,
|
||||
|
||||
},
|
||||
plugins: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ function SEO({ description, lang, meta, title }) {
|
|||
title
|
||||
description
|
||||
author
|
||||
type
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -26,6 +27,7 @@ function SEO({ description, lang, meta, title }) {
|
|||
)
|
||||
|
||||
const metaDescription = description || site.siteMetadata.description
|
||||
const metaType = `website` || site.siteMetadata.type
|
||||
|
||||
return (
|
||||
<Helmet
|
||||
|
|
@ -49,7 +51,7 @@ function SEO({ description, lang, meta, title }) {
|
|||
},
|
||||
{
|
||||
property: `og:type`,
|
||||
content: `website`,
|
||||
content: metaType,
|
||||
},
|
||||
].concat(meta)}
|
||||
>
|
||||
|
|
@ -61,7 +63,7 @@ function SEO({ description, lang, meta, title }) {
|
|||
SEO.defaultProps = {
|
||||
lang: `en`,
|
||||
meta: [],
|
||||
description: ``,
|
||||
description: `A selfmade developer blog.`,
|
||||
}
|
||||
|
||||
SEO.propTypes = {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ class BlogPostTemplate extends React.Component {
|
|||
<SEO
|
||||
title={post.frontmatter.title}
|
||||
description={post.frontmatter.description || post.excerpt}
|
||||
type='article'
|
||||
/>
|
||||
<article>
|
||||
<header>
|
||||
|
|
|
|||
Loading…
Reference in New Issue