refined article descriptions texts
This commit is contained in:
parent
ba7721a1dd
commit
82686d0e5b
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue