diff options
Diffstat (limited to 'nuldoc-src/pages/post_list.ts')
| -rw-r--r-- | nuldoc-src/pages/post_list.ts | 5 |
1 files changed, 3 insertions, 2 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(" 更新"), ] : []), ), |
