diff options
Diffstat (limited to 'services/nuldoc/nuldoc-src/generators/not_found.ts')
| -rw-r--r-- | services/nuldoc/nuldoc-src/generators/not_found.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/nuldoc/nuldoc-src/generators/not_found.ts b/services/nuldoc/nuldoc-src/generators/not_found.ts index f5a81c8..81fdb35 100644 --- a/services/nuldoc/nuldoc-src/generators/not_found.ts +++ b/services/nuldoc/nuldoc-src/generators/not_found.ts @@ -6,6 +6,7 @@ import { Page } from "../page.ts"; export type NotFoundPage = Page; export async function generateNotFoundPage( + site: "default" | "about" | "blog" | "slides", config: Config, ): Promise<NotFoundPage> { const html = await renderToDOM( @@ -15,6 +16,7 @@ export async function generateNotFoundPage( return { root: html, renderer: "html", + site, destFilePath: "/404.html", href: "/404.html", }; |
