43 lines
1.7 KiB
HTML
Raw Normal View History

2023-03-25 16:28:00 +08:00
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
2023-03-24 20:25:04 +08:00
th:fragment="layout (title, canonical, content, isPost)">
<th:block th:if="${!#strings.equals('',param._pjax)}">
2023-03-22 10:08:39 +08:00
<th:block th:replace="~{common/head :: head}"/>
<body>
<div class="column-main">
2023-03-22 11:57:40 +08:00
<th:block th:replace="${content}"/>
2023-03-22 10:08:39 +08:00
</div>
2023-03-25 12:46:08 +08:00
<th:block th:replace="~{common/scripts}"/>
2023-03-22 10:08:39 +08:00
</body>
</th:block>
2023-03-25 16:28:00 +08:00
<th:block th:unless="${!#strings.equals('',param._pjax)}"
th:with="stats = ${siteStatsFinder.getStats()},
contributor = ${contributorFinder.getContributor(theme.config.sidebar.metadata_name)}">
2023-03-22 10:08:39 +08:00
<th:block th:replace="~{common/head :: head}"/>
<body>
2023-03-22 11:57:40 +08:00
<th:block th:replace="~{common/navbar}"/>
2023-03-22 10:08:39 +08:00
<th:block th:if="${theme.config.basic_style.enable_banner}">
<th:block th:replace="~{common/banner :: banner}"/>
</th:block>
2023-03-22 11:57:40 +08:00
<section class="section">
2023-03-23 18:25:48 +08:00
<div th:class="${theme.config.basic_style.sidebar_column != 'all' ? 'container two-column' : 'container' }">
2023-03-22 11:57:40 +08:00
<div class="columns">
<div class="column column-main">
2023-03-25 16:28:00 +08:00
<th:block th:replace="${content}"/>
2023-03-22 11:57:40 +08:00
</div>
2023-03-25 16:28:00 +08:00
<th:block
th:if="${theme.config.basic_style.sidebar_column!='only-right' && theme.config.basic_style.sidebar_column!='module-left'}">
2023-03-22 11:57:40 +08:00
<th:block th:replace="~{common/widget :: widget('left')}"/>
</th:block>
2023-03-25 16:28:00 +08:00
<th:block
th:if="${theme.config.basic_style.sidebar_column!='only-left' && theme.config.basic_style.sidebar_column!='module-right'}">
2023-03-22 11:57:40 +08:00
<th:block th:replace="~{common/widget :: widget('right')}"/>
</th:block>
</div>
</div>
</section>
2023-03-22 11:00:43 +08:00
<th:block th:replace="~{common/actions}"/>
2023-03-22 11:57:40 +08:00
<th:block th:replace="~{common/footer}"/>
2023-03-25 12:46:08 +08:00
<th:block th:replace="~{common/scripts}"/>
2023-03-22 10:08:39 +08:00
</body>
</th:block>
</html>