aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src
diff options
context:
space:
mode:
Diffstat (limited to 'nuldoc-src')
-rw-r--r--nuldoc-src/pages/post_list.ts5
-rw-r--r--nuldoc-src/pages/slide_list.ts5
-rw-r--r--nuldoc-src/pages/tag.ts5
3 files changed, 9 insertions, 6 deletions
diff --git a/nuldoc-src/pages/post_list.ts b/nuldoc-src/pages/post_list.ts
index ce26645..767b42b 100644
--- a/nuldoc-src/pages/post_list.ts
+++ b/nuldoc-src/pages/post_list.ts
@@ -56,19 +56,20 @@ export async function generatePostListPage(
el(
"footer",
[["class", "entry-footer"]],
- text("Posted on "),
el(
"time",
[["datetime", getPostCreatedDate(post)]],
text(getPostCreatedDate(post)),
),
+ text(" 投稿"),
...(post.revisions.length > 1
? [
- text(", updated on "),
+ text("、"),
el("time", [[
"datetime",
getPostUpdatedDate(post),
]], text(getPostUpdatedDate(post))),
+ text(" 更新"),
]
: []),
),
diff --git a/nuldoc-src/pages/slide_list.ts b/nuldoc-src/pages/slide_list.ts
index fbb5778..9c375f3 100644
--- a/nuldoc-src/pages/slide_list.ts
+++ b/nuldoc-src/pages/slide_list.ts
@@ -57,19 +57,20 @@ export async function generateSlideListPage(
el(
"footer",
[["class", "entry-footer"]],
- text("Posted on "),
el(
"time",
[["datetime", getPostCreatedDate(slide)]],
text(getPostCreatedDate(slide)),
),
+ text(" 登壇"),
...(slide.revisions.length > 1
? [
- text(", updated on "),
+ text("、"),
el("time", [[
"datetime",
getPostUpdatedDate(slide),
]], text(getPostUpdatedDate(slide))),
+ text(" 更新"),
]
: []),
),
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(" 更新"),
]
: []),
),