fix: 添加文章发表时间 #78

This commit is contained in:
Airbo ZH 2023-02-09 17:21:57 +08:00 committed by sunheyi
parent 8d8ff1e6f1
commit c83add6edf
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@
th:each="tag : ${post.tags}" th:each="tag : ${post.tags}"
th:href="@{${tag.status.permalink}}" th:href="@{${tag.status.permalink}}"
th:title="${tag.spec.displayName}"> th:title="${tag.spec.displayName}">
<span class="tags-punctuation">#[[${tag.spec.displayName}]]</span> <span class="tags-punctuation">#</span>[[${#strings.trim(tag.spec.displayName)}]]
</a> </a>
</span> </span>
</th:block> </th:block>
@ -60,7 +60,7 @@
<span class="post-meta-date"> <span class="post-meta-date">
<i class="far fa-calendar-alt"></i> <i class="far fa-calendar-alt"></i>
<span class="article-meta-label">创建</span> <span class="article-meta-label">创建</span>
<time th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}" <time style="display: inline;" th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
th:title="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"> th:title="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">
</time> </time>
</span> </span>