chore: 适配

This commit is contained in:
nineya 2023-03-22 15:36:57 +08:00
parent 313bf70c1c
commit f3d087acf4
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
class="column column-side column-${position} ${settings[position+'_sidebar_sticky']!'none'}-sticky">
<th:block th:each="sidebar :${theme.config.sidebar.sidebar_show}">
<th:block th:if="${sidebar.position == position}">
<th:block th:replace="${'/widget/' + sidebar.type}" />
<th:block th:replace="~{${'/widget/' + sidebar.type}}" />
</th:block>
</th:block>
<div th:if="${position == 'left'}" class="column-right-shadow is-hidden-desktop">

View File

@ -1,8 +1,8 @@
<div class="card widget notice ${settings.hide_notice!} is-hidden-all">
<div class="card widget notice ${settings.hide_notice!} is-hidden-all" xmlns:th="https://www.thymeleaf.org">
<div class="card-title">
<i class="fa fa-volume-up card-title-label"></i><span>公告</span>
</div>
<div class="card-content">
<div>${settings.notice_content!'<p>&emsp;&emsp;欢迎来访${blog_title!},博主还没有发布任何公告!</p>'}</div>
<div th:text="${#strings.isEmpty(theme.config.sidebar.notice_content)? '<p>&emsp;&emsp;欢迎来访' + site.title + ',博主还没有发布任何公告!</p>' : theme.config.sidebar.notice_content}"></div>
</div>
</div>