aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/templates/about.ts
diff options
context:
space:
mode:
Diffstat (limited to 'nuldoc-src/templates/about.ts')
-rw-r--r--nuldoc-src/templates/about.ts19
1 files changed, 9 insertions, 10 deletions
diff --git a/nuldoc-src/templates/about.ts b/nuldoc-src/templates/about.ts
index c41418c..ccd7b1a 100644
--- a/nuldoc-src/templates/about.ts
+++ b/nuldoc-src/templates/about.ts
@@ -110,14 +110,13 @@ export default async function generateAbout(
head,
body,
);
- const doc = {
- root: el("__root__", [], html),
- sourceFilePath: "<about>",
- link: "/about/",
- title: "About",
- summary: "このサイトの著者について",
- tags: [],
- revisions: [],
- };
- return doc;
+ return new Document(
+ el("__root__", [], html),
+ "<about>",
+ "/about/",
+ "About",
+ "このサイトの著者について",
+ [],
+ [],
+ );
}