From f31d24cd1417088b7806ddc7d2e0df982d666e38 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 12 Jan 2025 21:50:13 +0900 Subject: refactor(blog/nuldoc): remove top-level __root__ element --- vhosts/blog/nuldoc-src/pages/not_found.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vhosts/blog/nuldoc-src/pages/not_found.tsx') diff --git a/vhosts/blog/nuldoc-src/pages/not_found.tsx b/vhosts/blog/nuldoc-src/pages/not_found.tsx index f0b5f964..27be0738 100644 --- a/vhosts/blog/nuldoc-src/pages/not_found.tsx +++ b/vhosts/blog/nuldoc-src/pages/not_found.tsx @@ -3,7 +3,6 @@ import { renderToDOM } from "../jsx/render.ts"; import GlobalHeader from "../components/GlobalHeader.tsx"; import PageLayout from "../components/PageLayout.tsx"; import { Config } from "../config.ts"; -import { el } from "../dom.ts"; import { Page } from "../page.ts"; export type NotFoundPage = Page; @@ -31,7 +30,7 @@ export async function generateNotFoundPage( ); return { - root: el("__root__", {}, html), + root: html, renderer: "html", destFilePath: "/404.html", href: "/404.html", -- cgit v1.2.3-70-g09d2