We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc0ec72 commit 5735feeCopy full SHA for 5735fee
1 file changed
templates/post.html
@@ -20,7 +20,7 @@
20
/>
21
</div>
22
<div
23
- th:if="${#strings.isEmpty(post.spec.cover)} and ${theme.config.general.enabled_card_random_cover_list}"
+ th:if="${not #strings.isEmpty(post.spec.cover)} or ${theme.config.general.enabled_card_random_cover_list}"
24
class="cover-bg absolute bottom-0 left-0 right-0 top-0 opacity-30"
25
>
26
<img
@@ -30,7 +30,7 @@
30
31
32
33
- th:unless="${not #strings.isEmpty(post.spec.cover)} or ${theme.config.general.enabled_card_random_cover_list}"
+ th:if="${#strings.isEmpty(post.spec.cover)} and ${!theme.config.general.enabled_card_random_cover_list}"
34
class="placeholder-bg"
35
></div>
36
0 commit comments