mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-07-29 22:37:19 +02:00
Add new blog components and post
This commit is contained in:
parent
b35ad08052
commit
a352600428
16 changed files with 440 additions and 5 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
.postSection {
|
||||
flex-grow: 1;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
|
||||
> article {
|
||||
img {
|
||||
|
|
|
@ -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/"
|
||||
},
|
||||
],
|
||||
})}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue