fix: align theme settings with template behavior
This commit is contained in:
@@ -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> :: </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>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<div
|
||||
id="color-scheme-picker"
|
||||
class="color-scheme-picker"
|
||||
th:if="${theme.config.header.color_scheme_switcher_enable != false}">
|
||||
th:if="${theme.config.header.color_scheme_switcher_enable == true}">
|
||||
<button
|
||||
id="color-scheme-trigger"
|
||||
class="color-scheme-trigger"
|
||||
|
||||
+3
-3
@@ -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}}">
|
||||
<time th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">Publish Time</time>
|
||||
<span> :: </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>
|
||||
|
||||
Reference in New Issue
Block a user