@ -28,7 +28,7 @@ export default function Layout({
return (
<section className={`layout`}>
<Meta siteTitle={siteTitle} siteDescription={siteDescription} />
<Header siteTitle="/home/garrit" />
<Header siteTitle="~/garrit" />
<div className="content">{children}</div>
{windowWidth <= 768 && <Profile className="content"></Profile>}
<style jsx>
@ -4,7 +4,7 @@ import matter from "gray-matter";
const Index = (props) => {
<Layout pathname="/" siteTitle="/home/garrit" siteDescription="">
<Layout pathname="/" siteTitle="~/garrit" siteDescription="">
<section>
<BlogList posts={props.posts} />
</section>
@ -40,7 +40,7 @@ export async function getStaticProps() {
return {
props: {
posts,
title: "/home/garrit",
title: "~/garrit",
description: "",
},
};
@ -185,7 +185,7 @@ export async function getStaticProps({ ...ctx }) {
siteTitle: "/home/garrit",
siteTitle: "~/garrit",
frontmatter: data.data,
markdownBody: data.content,