summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/atom/generate.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-12 22:17:44 +0900
committernsfisis <nsfisis@gmail.com>2025-01-12 22:17:44 +0900
commitb14dd149e1b5f75bc494623181b19970ef830dec (patch)
treedfff5ee9b9a9e16680fda5cba36e5c817eda1f9e /vhosts/blog/nuldoc-src/atom/generate.ts
parentaecf316775c995f089012d8fec5c5cc77f6300be (diff)
parent16182acfcc1fad2885b9c1a96fe74d8ce56a50e0 (diff)
downloadnsfisis.dev-b14dd149e1b5f75bc494623181b19970ef830dec.tar.gz
nsfisis.dev-b14dd149e1b5f75bc494623181b19970ef830dec.tar.zst
nsfisis.dev-b14dd149e1b5f75bc494623181b19970ef830dec.zip
Merge branch 'feature/blog-nuldoc-jsx'
Diffstat (limited to 'vhosts/blog/nuldoc-src/atom/generate.ts')
-rw-r--r--vhosts/blog/nuldoc-src/atom/generate.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/vhosts/blog/nuldoc-src/atom/generate.ts b/vhosts/blog/nuldoc-src/atom/generate.ts
index ee659211..3c76f6c5 100644
--- a/vhosts/blog/nuldoc-src/atom/generate.ts
+++ b/vhosts/blog/nuldoc-src/atom/generate.ts
@@ -2,8 +2,8 @@ import { Config } from "../config.ts";
import { el } from "../dom.ts";
import { Page } from "../page.ts";
import { Entry, Feed } from "./types.ts";
-import { PostPage } from "../pages/post.ts";
-import { SlidePage } from "../pages/slide.ts";
+import { PostPage } from "../generators/post.ts";
+import { SlidePage } from "../generators/slide.ts";
import { dateToRfc3339String } from "../revision.ts";
const BASE_NAME = "atom.xml";
@@ -50,9 +50,8 @@ export function generateFeedPageFromEntries(
entries: entries_,
};
- const xml = buildXmlTree(feed);
return {
- root: el("__root__", {}, xml),
+ root: buildXmlTree(feed),
renderer: "xml",
destFilePath: feedPath,
href: feedPath,