fix(tips): 修复提示内容为空时也显示文章提示问题

This commit is contained in:
nineya 2023-05-05 13:55:17 +08:00
parent da95baedcc
commit d28fdb78c6

View File

@ -28,7 +28,7 @@
天,若文章内容或图片链接失效,请留言反馈。 天,若文章内容或图片链接失效,请留言反馈。
</div> </div>
<div th:if="${post.metadata.annotations.containsKey('tips')}" class="card tips brightness"><i <div th:if="${!#strings.isEmpty(post.metadata.annotations.get('tips'))}" class="card tips brightness"><i
class="fa fa-times click-close" data-close=".tips"></i>[[${post.metadata.annotations.tips}]] class="fa fa-times click-close" data-close=".tips"></i>[[${post.metadata.annotations.tips}]]
</div> </div>