aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/templates/tag.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-18 16:36:13 +0900
committernsfisis <nsfisis@gmail.com>2023-03-18 16:36:13 +0900
commitf3734ac3bd1a15a4bf2aaca8f73def5003380b86 (patch)
tree9b6271f5386cce9ecc1fef2369f7ce35d6a3f891 /nuldoc-src/templates/tag.ts
parent2308e54db43abfa5e9020bac637b5c7ac88e692e (diff)
downloadblog.nsfisis.dev-f3734ac3bd1a15a4bf2aaca8f73def5003380b86.tar.gz
blog.nsfisis.dev-f3734ac3bd1a15a4bf2aaca8f73def5003380b86.tar.zst
blog.nsfisis.dev-f3734ac3bd1a15a4bf2aaca8f73def5003380b86.zip
feat(nuldoc): change page title of tags/*
Diffstat (limited to 'nuldoc-src/templates/tag.ts')
-rw-r--r--nuldoc-src/templates/tag.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuldoc-src/templates/tag.ts b/nuldoc-src/templates/tag.ts
index 8c296d8..1cbc2c5 100644
--- a/nuldoc-src/templates/tag.ts
+++ b/nuldoc-src/templates/tag.ts
@@ -26,7 +26,7 @@ export default async function convertTag(
el("__root__", []),
`<tag:${tag}>`,
`/tags/${tag}/`,
- tagLabel,
+ `タグ「${tagLabel}」一覧`,
`タグ「${tagLabel}」のついた記事一覧`,
[],
[],
@@ -93,7 +93,7 @@ export default async function convertTag(
el(
"main",
[["class", "main"]],
- el("header", [["class", "page-header"]], el("h1", [], text(tagLabel))),
+ el("header", [["class", "page-header"]], el("h1", [], text(doc.title))),
...posts.map((post) =>
el(
"article",