Browse Source

Update title (#4)

Rebranding from /dev.space
restructure
Alexey 3 years ago committed by GitHub
parent
commit
f40339da80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pages/index.js
  2. 2
      pages/posts/[post].js

4
pages/index.js

@ -4,7 +4,7 @@ import matter from "gray-matter";
const Index = (props) => { const Index = (props) => {
return ( return (
<Layout pathname="/" siteTitle="/dev.space" siteDescription=""> <Layout pathname="/" siteTitle="/home/garrit" siteDescription="">
<section> <section>
<BlogList posts={props.posts} /> <BlogList posts={props.posts} />
</section> </section>
@ -40,7 +40,7 @@ export async function getStaticProps() {
return { return {
props: { props: {
posts, posts,
title: "/dev.space", title: "/home/garrit",
description: "", description: "",
}, },
}; };

2
pages/posts/[post].js

@ -185,7 +185,7 @@ export async function getStaticProps({ ...ctx }) {
return { return {
props: { props: {
siteTitle: "/dev.space", siteTitle: "/home/garrit",
frontmatter: data.data, frontmatter: data.data,
markdownBody: data.content, markdownBody: data.content,
}, },

Loading…
Cancel
Save