summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/pages/post.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-12 21:50:13 +0900
committernsfisis <nsfisis@gmail.com>2025-01-12 21:50:13 +0900
commitf31d24cd1417088b7806ddc7d2e0df982d666e38 (patch)
tree9cbaf34e7e68cdc29c4fca357534dcb00037538f /vhosts/blog/nuldoc-src/pages/post.tsx
parent940eae61767214eb1ee573284dc8b5876d536fb3 (diff)
downloadnsfisis.dev-f31d24cd1417088b7806ddc7d2e0df982d666e38.tar.gz
nsfisis.dev-f31d24cd1417088b7806ddc7d2e0df982d666e38.tar.zst
nsfisis.dev-f31d24cd1417088b7806ddc7d2e0df982d666e38.zip
refactor(blog/nuldoc): remove top-level __root__ element
Diffstat (limited to 'vhosts/blog/nuldoc-src/pages/post.tsx')
-rw-r--r--vhosts/blog/nuldoc-src/pages/post.tsx4
1 files changed, 2 insertions, 2 deletions
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", ""),