@@ -1,3 +1,4 @@
1+import Head from "next/head";
1import Link from "next/link";
2import Link from "next/link";
2import { useRouter } from "next/router";
3import { useRouter } from "next/router";
3import { join } from "path";
4import { join } from "path";
@@ -82,15 +83,20 @@ function ContentArea(props) {
83export default function DocsLayout({ posts, data, content, params }) {
84export default function DocsLayout({ posts, data, content, params }) {
88+ <title>{data.title} / Documentation / Urbit.org</title>
85− <div className="flex w-screen h-screen min-h-screen w-screen overflow-hidden">
90+ <div className="flex w-screen h-screen min-h-screen w-screen overflow-hidden">
86− <Sidebar>{childPages("/docs", posts.children)}</Sidebar>
91+ <Sidebar>{childPages("/docs", posts.children)}</Sidebar>
87− <ContentArea
92+ <ContentArea
88− breadcrumbs={breadcrumbs(posts, params.slug.slice(0, -1))}
93+ breadcrumbs={breadcrumbs(posts, params.slug.slice(0, -1))}
89− title={data.title}
94+ title={data.title}
91− <Markdown post={{ content: content }} />
96+ <Markdown post={{ content: content }} />
92− </ContentArea>
97+ </ContentArea>