1import { useRouter } from "next/router";
2import Head from "next/head";
3import ErrorPage from "../pages/404";
4import Container from "./Container";
5import Header from "./Header";
6import Footer from "./Footer";
7import SingleColumn from "./SingleColumn";
8import Section from "./Section";
9import markdownStyles from "../styles/markdown.module.css";
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>
23 <Header search={search} />
27 <Section narrow className={markdownStyles["markdown"]}>
29 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