mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
修复启用网格文章后首页列表内容出现两次
This commit is contained in:
parent
199bac3d51
commit
16cc75ac38
@ -97,8 +97,7 @@
|
||||
<p th:text="${#dates.format(post.spec.publishTime, 'yyyy-MM-dd')}"></p>
|
||||
</a>
|
||||
|
||||
<div
|
||||
th:if="${(#strings.isEmpty(thumbnail) && !(post.spec.pinned && thumbnail_mode == 'fold')) || #strings.isEmpty(thumbnail_mode) || thumbnail_mode == 'default'}"
|
||||
<div th:if="${#strings.isEmpty(thumbnail_mode) || thumbnail_mode == 'default'}"
|
||||
class="card widget">
|
||||
<a th:if="${!#strings.isEmpty(thumbnail)}" class="thumbnail" th:href="${post.status.permalink}">
|
||||
<div class="thumbnail-image" th:style="'background-image: url(' + ${thumbnail} + ')'">
|
||||
|
Loading…
x
Reference in New Issue
Block a user