Update index.html
This commit is contained in:
parent
0c05e453ef
commit
8c2a6e7b42
|
@ -1,5 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" th:replace="~{modules/layouts/layout :: layout(content = ~{::content}, htmlType = 'index')}" xmlns:th="http://www.thymeleaf.org">
|
||||
<html lang="en" th:replace="~{modules/layouts/layout :: layout(content = ~{::content}, htmlType = 'index')}"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<th:block th:fragment="content">
|
||||
|
||||
|
@ -20,11 +21,12 @@
|
|||
</div>
|
||||
<main class="layout" id="content-inner" th:classappend="${theme.config.sidebar.location}">
|
||||
<div class="recent-posts" id="recent-posts">
|
||||
|
||||
<!-- 分类导航栏 -->
|
||||
<th:block th:if="${not #strings.isEmpty(theme.config.layout.navs.nav)}">
|
||||
<div th:replace="~{'modules/bar/' + ${theme.config.layout.navs.nav}}"></div>
|
||||
</th:block>
|
||||
|
||||
<th:block th:replace="~{modules/post-list :: post-list}"></th:block>
|
||||
|
||||
</div>
|
||||
<div th:replace="~{modules/aside :: aside(${theme.config.sidebar.widgetss.indexWidgets})}"></div>
|
||||
</main>
|
||||
|
@ -33,5 +35,5 @@
|
|||
</div>
|
||||
|
||||
</th:block>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue