import { escapeHtml } from "../lib/html.ts"; import { t } from "../lib/i18n/index.ts"; import { type LayoutOptions, layout } from "./layout.ts"; import { primaryButtonClass, THEME } from "./theme/index.ts"; export function notFoundPage( message: string, options: LayoutOptions = {}, ): string { const locale = options.locale ?? "en"; const msg = t(locale); const body = `
`; return layout(msg.notFound.heading, body, { ...options, noindex: true }); }