chore: 导航按钮适配
This commit is contained in:
		
							parent
							
								
									c93a0398c2
								
							
						
					
					
						commit
						32e87ec4dc
					
				| @ -1,15 +1,13 @@ | |||||||
| <div class="actions"> | <div class="actions" xmlns:th="https://www.thymeleaf.org"> | ||||||
|     <div class="bullet-screen is-hidden-mobile is-hidden-all"> |     <div class="bullet-screen is-hidden-mobile is-hidden-all"> | ||||||
|         <span>弹</span> |         <span>弹</span> | ||||||
|     </div> |     </div> | ||||||
|     <div id="toggle-mode"> |     <div id="toggle-mode"> | ||||||
|         <i class="fa fa-adjust"></i> |         <i class="fa fa-adjust"></i> | ||||||
|     </div> |     </div> | ||||||
|     <#if settings.drawer_toc!true> |     <div th:if="${theme.config.basic_style.drawer_toc}" class="action-toc is-hidden-desktop"> | ||||||
|         <div class="action-toc is-hidden-desktop"> |         <i class="fa fa-list-ul"></i> | ||||||
|             <i class="fa fa-list-ul"></i> |     </div> | ||||||
|         </div> |  | ||||||
|     </#if> |  | ||||||
|     <div id="back-to-top"> |     <div id="back-to-top"> | ||||||
|         <i class="fa fa-arrow-up"></i> |         <i class="fa fa-arrow-up"></i> | ||||||
|     </div> |     </div> | ||||||
| @ -22,7 +22,7 @@ | |||||||
|           <div class="container<#if settings.sidebar_column?? && settings.sidebar_column!='all'> two-column</#if>"> |           <div class="container<#if settings.sidebar_column?? && settings.sidebar_column!='all'> two-column</#if>"> | ||||||
|               <div class="columns"> |               <div class="columns"> | ||||||
|                   <div class="column column-main"> |                   <div class="column column-main"> | ||||||
|                     <th:block th:replace="${content}" /> |                     <th:block th:insert="${content}" /> | ||||||
|                   </div> |                   </div> | ||||||
| <!--                  <#if !settings.sidebar_column?? || (settings.sidebar_column!='only-right' && settings.sidebar_column!='module-left')>--> | <!--                  <#if !settings.sidebar_column?? || (settings.sidebar_column!='only-right' && settings.sidebar_column!='module-left')>--> | ||||||
| <!--                      <@widget 'left' />--> | <!--                      <@widget 'left' />--> | ||||||
| @ -33,7 +33,7 @@ | |||||||
|               </div> |               </div> | ||||||
|           </div> |           </div> | ||||||
|       </section> |       </section> | ||||||
| <!--      <#include "templates/common/actions.ftl">--> |   <th:block th:replace="~{common/actions}"/> | ||||||
| <!--      <#include "templates/common/footer.ftl">--> | <!--      <#include "templates/common/footer.ftl">--> | ||||||
| <!--      <#include "templates/common/scripts.html">--> | <!--      <#include "templates/common/scripts.html">--> | ||||||
|   </body> |   </body> | ||||||
|  | |||||||
| @ -1,7 +1,9 @@ | |||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html xmlns:th="https://www.thymeleaf.org" | <html xmlns:th="https://www.thymeleaf.org" | ||||||
|   th:replace="~{common/layout :: layout (title = ${site.title}, canonical = ${site.url}, content = ~{::content})}"> |   th:replace="~{common/layout :: layout (title = ${site.title}, canonical = ${site.url}, content = ~{::content})}"> | ||||||
|  | <th:block th:fragment="content"> | ||||||
| 首页 | 首页 | ||||||
|  | </th:block> | ||||||
| </html> | </html> | ||||||
| <!--<#include "templates/layout_pjax.html">--> | <!--<#include "templates/layout_pjax.html">--> | ||||||
| <!--<#global is_first_index=(posts.number == 0) >--> | <!--<#global is_first_index=(posts.number == 0) >--> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user