From f31d24cd1417088b7806ddc7d2e0df982d666e38 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 12 Jan 2025 21:50:13 +0900
Subject: refactor(blog/nuldoc): remove top-level __root__ element

---
 vhosts/blog/nuldoc-src/pages/post.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'vhosts/blog/nuldoc-src/pages/post.tsx')

diff --git a/vhosts/blog/nuldoc-src/pages/post.tsx b/vhosts/blog/nuldoc-src/pages/post.tsx
index 529d6738..541c33e3 100644
--- a/vhosts/blog/nuldoc-src/pages/post.tsx
+++ b/vhosts/blog/nuldoc-src/pages/post.tsx
@@ -4,7 +4,7 @@ import GlobalFooter from "../components/GlobalFooter.tsx";
 import GlobalHeader from "../components/GlobalHeader.tsx";
 import PageLayout from "../components/PageLayout.tsx";
 import { Config, getTagLabel } from "../config.ts";
-import { el, Element } from "../dom.ts";
+import { Element } from "../dom.ts";
 import { Document } from "../ndoc/document.ts";
 import { Page } from "../page.ts";
 import { Date, dateToString, Revision } from "../revision.ts";
@@ -108,7 +108,7 @@ export async function generatePostPage(
     "index.html",
   );
   return {
-    root: el("__root__", {}, html),
+    root: html,
     renderer: "html",
     destFilePath: destFilePath,
     href: destFilePath.replace("index.html", ""),
-- 
cgit v1.2.3-70-g09d2

