import GlobalFooter from "../components/GlobalFooter.tsx"; import { renderToDOM } from "../jsx/render.ts"; import GlobalHeader from "../components/GlobalHeader.tsx"; import PageLayout from "../components/PageLayout.tsx"; import { Config } from "../config.ts"; import { Page } from "../page.ts"; export type NotFoundPage = Page; export async function generateNotFoundPage( config: Config, ): Promise { const html = await renderToDOM(
404
, ); return { root: html, renderer: "html", destFilePath: "/404.html", href: "/404.html", }; }