1import { useRouter } from "next/router";
2import Head from "next/head";
3import Meta from "../components/Meta";
4import ErrorPage from "../pages/404";
5import Container from "./Container";
6import Header from "./Header";
7import Footer from "./Footer";
8import SingleColumn from "./SingleColumn";
9import Section from "./Section";
10import { decode } from "html-entities";
12export default function BasicPage({ post, markdown, search }) {
13 const router = useRouter();
14 if (!router.isFallback && !post?.slug) {
20 <title>Urbit • {post.title}</title>
24 <Header search={search} />
28 <Section narrow className="markdown">
30 dangerouslySetInnerHTML={{ __html: decode(markdown) }}
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list