Add new blog components and post

This commit is contained in:
Kevin Kandlbinder 2022-02-05 17:16:03 +00:00 committed by GitHub
parent b35ad08052
commit a352600428
16 changed files with 440 additions and 5 deletions

View file

@ -2,6 +2,8 @@
.postSection {
flex-grow: 1;
max-width: 1000px;
margin: 0 auto;
> article {
img {

View file

@ -22,7 +22,7 @@ const BlogPost = ({ data }) => {
<script type="application/ld+json">
{JSON.stringify({
"@context": "https://schema.org",
"@type": "NewsArticle",
"@type": "BlogPosting",
headline: data.mdx.frontmatter.title,
datePublished: data.mdx.frontmatter.publishedIso,
dateModified: data.mdx.frontmatter.publishedIso,
@ -30,6 +30,7 @@ const BlogPost = ({ data }) => {
{
"@type": "Person",
name: data.mdx.frontmatter.author.name,
url: "https://kevink.dev/blog/"
},
],
})}