aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/pages/tag.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-19 00:50:44 +0900
committernsfisis <nsfisis@gmail.com>2023-03-19 01:12:08 +0900
commit8aee2418d9ea730ec0ed5770be6b1918a072e17c (patch)
tree506dadfd844d6959a14866c5a9090e5a22ebdc4d /nuldoc-src/pages/tag.ts
parent88b66f82aae2d7784002b07bfc7877932da3ec94 (diff)
downloadblog.nsfisis.dev-8aee2418d9ea730ec0ed5770be6b1918a072e17c.tar.gz
blog.nsfisis.dev-8aee2418d9ea730ec0ed5770be6b1918a072e17c.tar.zst
blog.nsfisis.dev-8aee2418d9ea730ec0ed5770be6b1918a072e17c.zip
feat(nuldoc): change text of "Posted on" to "投稿"
Diffstat (limited to 'nuldoc-src/pages/tag.ts')
-rw-r--r--nuldoc-src/pages/tag.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuldoc-src/pages/tag.ts b/nuldoc-src/pages/tag.ts
index 3c1421f..cb518b3 100644
--- a/nuldoc-src/pages/tag.ts
+++ b/nuldoc-src/pages/tag.ts
@@ -57,19 +57,20 @@ export async function generateTagPage(
el(
"footer",
[["class", "entry-footer"]],
- text("Posted on "),
el(
"time",
[["datetime", getPostCreatedDate(page)]],
text(getPostCreatedDate(page)),
),
+ text("event" in page ? " 登壇" : " 投稿"),
...(page.revisions.length > 1
? [
- text(", updated on "),
+ text("、"),
el("time", [[
"datetime",
getPostUpdatedDate(page),
]], text(getPostUpdatedDate(page))),
+ text(" 更新"),
]
: []),
),