From 74e09acbbaeb9be610bdbaec5a2ca32e1b1265ee Mon Sep 17 00:00:00 2001 From: AR-26710 Date: Thu, 16 Jan 2025 01:14:18 +0800 Subject: [PATCH] =?UTF-8?q?change(post):=20=E4=BD=BF=E7=94=A8=20displayNam?= =?UTF-8?q?e=20=E6=9B=BF=E4=BB=A3=20owner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整 HTML 标签嵌套 - 更改作者名称显示逻辑,使用 displayName 替代 owner --- templates/post.html | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/templates/post.html b/templates/post.html index 1e515ab..5febf5f 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,4 +1,21 @@ -
-

-
[[${#dates.format(post.spec.publishTime,'MMMM dd, yyyy')}]] 作者: [[${post.spec.owner}]] 分类: 浏览: [[${post.stats.visit}]] 评论: [[${post.stats.comment}]]
-
+ + + +
+
+

+
[[${#dates.format(post.spec.publishTime,'MMMM dd, yyyy')}]] 作者: [[${post.owner.displayName}]] 分类: 浏览: [[${post.stats.visit}]] 评论: [[${post.stats.comment}]]
+ + +
+ +
+ +
+
+
+