2023-03-22 11:57:40 +08:00

40 lines
1.6 KiB
HTML

<html lang="zh" xmlns:th="https://www.thymeleaf.org"
th:fragment="layout (title, canonical, content)">
<th:block th:if="${#strings.equals('',param._pjax) == false}">
<th:block th:replace="~{common/head :: head}"/>
<body>
<div class="column-main">
<th:block th:replace="${content}"/>
</div>
<th:block th:replace="~{common/scripts}"/>
</body>
</th:block>
<th:block th:if="${#strings.equals('',param._pjax)}">
<th:block th:replace="~{common/head :: head}"/>
<body>
<th:block th:replace="~{common/navbar}"/>
<th:block th:if="${theme.config.basic_style.enable_banner}">
<th:block th:replace="~{common/banner :: banner}"/>
</th:block>
<section class="section">
<div class="container<#if settings.sidebar_column?? && settings.sidebar_column!='all'> two-column</#if>">
<div class="columns">
<div class="column column-main">
<th:block th:insert="${content}"/>
</div>
<th:block th:insert="${content}"/>
<th:block th:if="${theme.config.basic_style.sidebar_column!='only-right' && theme.config.basic_style.sidebar_column!='module-left'}">
<th:block th:replace="~{common/widget :: widget('left')}"/>
</th:block>
<th:block th:if="${theme.config.basic_style.sidebar_column!='only-left' && theme.config.basic_style.sidebar_column!='module-right'}">
<th:block th:replace="~{common/widget :: widget('right')}"/>
</th:block>
</div>
</div>
</section>
<th:block th:replace="~{common/actions}"/>
<th:block th:replace="~{common/footer}"/>
<th:block th:replace="~{common/scripts}"/>
</body>
</th:block>
</html>