summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/commands/new.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog/nuldoc-src/commands/new.ts')
-rw-r--r--vhosts/blog/nuldoc-src/commands/new.ts14
1 files changed, 5 insertions, 9 deletions
diff --git a/vhosts/blog/nuldoc-src/commands/new.ts b/vhosts/blog/nuldoc-src/commands/new.ts
index e694ce20..651c59e6 100644
--- a/vhosts/blog/nuldoc-src/commands/new.ts
+++ b/vhosts/blog/nuldoc-src/commands/new.ts
@@ -50,7 +50,7 @@ OPTIONS:
}
function getFilename(type: "post" | "slide"): string {
- return type === "post" ? "TODO.ndoc" : "TODO.toml";
+ return type === "post" ? "TODO.dj" : "TODO.toml";
}
function getDirPath(type: "post" | "slide"): string {
@@ -73,14 +73,10 @@ tags = [
date = "${date}"
remark = "公開"
---
-<article>
- <section id="TODO">
- <h>TODO</h>
- <p>
- TODO
- </p>
- </section>
-</article>
+{#TODO}
+# TODO
+
+TODO
`;
} else {
return `[slide]