fix: align theme settings with template behavior
This commit is contained in:
@@ -18,9 +18,9 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="post-list" th:each="post : ${posts.items}">
|
<li class="post-list" th:each="post : ${posts.items}">
|
||||||
<a data-pjax th:href="@{${post.status.permalink}}">
|
<a data-pjax class="post-meta" th:href="@{${post.status.permalink}}">
|
||||||
<span th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">Publish Time</span>
|
<time th:text="${#dates.format(post.spec.publishTime, '__${theme.config.general.time_style == 'custom' ?
|
||||||
<span> :: </span>
|
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>
|
<span class="post-list-title" th:text="${post.spec.title}">Post Title</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<div
|
<div
|
||||||
id="color-scheme-picker"
|
id="color-scheme-picker"
|
||||||
class="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
|
<button
|
||||||
id="color-scheme-trigger"
|
id="color-scheme-trigger"
|
||||||
class="color-scheme-trigger"
|
class="color-scheme-trigger"
|
||||||
|
|||||||
+3
-3
@@ -18,9 +18,9 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="post-list" th:each="post : ${posts.items}">
|
<li class="post-list" th:each="post : ${posts.items}">
|
||||||
<a data-pjax th:href="@{${post.status.permalink}}">
|
<a data-pjax class="post-meta" th:href="@{${post.status.permalink}}">
|
||||||
<time th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}">Publish Time</time>
|
<time th:text="${#dates.format(post.spec.publishTime, '__${theme.config.general.time_style == 'custom' ?
|
||||||
<span> :: </span>
|
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>
|
<span class="post-list-title" th:text="${post.spec.title}">Post Title</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user