2023-03-25 16:28:00 +08:00
|
|
|
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
2024-03-25 09:22:27 +08:00
|
|
|
th:class="${theme.config.basic_style.theme_style}"
|
2023-03-24 20:25:04 +08:00
|
|
|
th:fragment="layout (title, canonical, content, isPost)">
|
2023-12-01 19:51:58 +08:00
|
|
|
<th:block th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)},
|
2023-12-01 20:04:30 +08:00
|
|
|
enableComment = ${baseEnableComment == true && site.comment.enable && pluginFinder.available('PluginCommentWidget')}">
|
2024-07-20 14:17:33 +08:00
|
|
|
|
|
|
|
<th:block th:with="stats = ${siteStatsFinder.getStats()}">
|
2023-12-01 19:51:58 +08:00
|
|
|
<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 th:class="${theme.config.basic_style.sidebar_column != 'all' ? 'container two-column' : 'container' }">
|
|
|
|
<div class="columns">
|
2024-03-17 19:32:22 +08:00
|
|
|
<div class="column column-main pjax">
|
2023-12-01 19:51:58 +08:00
|
|
|
<th:block th:replace="${content}"/>
|
|
|
|
</div>
|
|
|
|
<th:block
|
2024-04-23 08:27:32 +08:00
|
|
|
th:if="${theme.config.basic_style.sidebar_column!='only-right'}">
|
2023-12-01 19:51:58 +08:00
|
|
|
<th:block th:replace="~{common/widget :: widget('left')}"/>
|
|
|
|
</th:block>
|
|
|
|
<th:block
|
2024-04-23 08:27:32 +08:00
|
|
|
th:if="${theme.config.basic_style.sidebar_column!='only-left'}">
|
2023-12-01 19:51:58 +08:00
|
|
|
<th:block th:replace="~{common/widget :: widget('right')}"/>
|
|
|
|
</th:block>
|
|
|
|
</div>
|
2023-03-22 11:57:40 +08:00
|
|
|
</div>
|
2023-12-01 19:51:58 +08:00
|
|
|
</section>
|
|
|
|
<th:block th:replace="~{common/actions}"/>
|
|
|
|
<th:block th:replace="~{common/footer}"/>
|
|
|
|
<th:block th:replace="~{common/scripts}"/>
|
|
|
|
</body>
|
|
|
|
</th:block>
|
2023-03-22 10:08:39 +08:00
|
|
|
</th:block>
|
|
|
|
</html>
|