fix: align theme settings with template behavior

This commit is contained in:
Erzbir
2026-08-22 15:30:20 +08:00
parent b13f3b5ee9
commit f31a7431aa
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -18,9 +18,9 @@
<div class="post-content">
<ul>
<li class="post-list" th:each="post : ${posts.items}">
<a data-pjax th:href="@{${post.status.permalink}}">
<span th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">Publish Time</span>
<span>&nbsp;::&nbsp;</span>
<a data-pjax class="post-meta" th:href="@{${post.status.permalink}}">
<time th:text="${#dates.format(post.spec.publishTime, '__${theme.config.general.time_style == 'custom' ?
theme.config.general.custom_time_style : theme.config.general.time_style}__')}">Publish Time</time>
<span class="post-list-title" th:text="${post.spec.title}">Post Title</span>
</a>
</li>