chore: 适配
This commit is contained in:
		
							parent
							
								
									313bf70c1c
								
							
						
					
					
						commit
						f3d087acf4
					
				| @ -3,7 +3,7 @@ | |||||||
|        class="column column-side column-${position} ${settings[position+'_sidebar_sticky']!'none'}-sticky"> |        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:each="sidebar :${theme.config.sidebar.sidebar_show}"> | ||||||
|     <th:block th:if="${sidebar.position == position}"> |     <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> | ||||||
|   </th:block> |   </th:block> | ||||||
|   <div th:if="${position == 'left'}" class="column-right-shadow is-hidden-desktop"> |   <div th:if="${position == 'left'}" class="column-right-shadow is-hidden-desktop"> | ||||||
|  | |||||||
| @ -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"> |     <div class="card-title"> | ||||||
|         <i class="fa fa-volume-up card-title-label"></i><span>公告</span> |         <i class="fa fa-volume-up card-title-label"></i><span>公告</span> | ||||||
|     </div> |     </div> | ||||||
|     <div class="card-content"> |     <div class="card-content"> | ||||||
|         <div>${settings.notice_content!'<p>  欢迎来访${blog_title!},博主还没有发布任何公告!</p>'}</div> |         <div th:text="${#strings.isEmpty(theme.config.sidebar.notice_content)? '<p>  欢迎来访' + site.title + ',博主还没有发布任何公告!</p>' : theme.config.sidebar.notice_content}"></div> | ||||||
|     </div> |     </div> | ||||||
| </div> | </div> | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user