导航栏左侧控制
This commit is contained in:
parent
f067d52759
commit
a65d31722e
|
@ -2,10 +2,10 @@
|
|||
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<!-- 导航栏左侧 -->
|
||||
<div id="blog_name" th:fragment="nav-left"
|
||||
th:if="${not #strings.isEmpty(theme.config.nav.left_menu)}"
|
||||
th:with="leftMenu = ${theme.config.nav.left_menu}">
|
||||
<div id="blog_name" th:fragment="nav-left">
|
||||
|
||||
<th:block th:if="${not #strings.isEmpty(theme.config.nav.left_menu)}"
|
||||
th:with="leftMenu = ${theme.config.nav.left_menu}">
|
||||
<!-- 菜单栏左侧按钮,没有配置时,则不展示-->
|
||||
<div class="back-home-button" tabindex="-1"
|
||||
th:if="${not #strings.isEmpty(leftMenu)} and ${not #lists.isEmpty(menuFinder.getByName(leftMenu))}">
|
||||
|
@ -31,7 +31,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</th:block>
|
||||
<!-- 返回主页 -->
|
||||
<!-- 这里可以指定使用什么作为图标,默认使用站点名称 -->
|
||||
<a href="/" id="site-name"
|
||||
|
|
Loading…
Reference in New Issue