mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
38 lines
1.6 KiB
HTML
38 lines
1.6 KiB
HTML
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
|
th:class="${theme.config.basic_style.theme_style}"
|
|
th:fragment="layout (title, canonical, content, isPost)">
|
|
<th:block th:with="contributor = ${contributorFinder.getContributor(theme.config.basic_info.metadata_name)},
|
|
enableComment = ${baseEnableComment == true && site.comment.enable},
|
|
logonUserName = ${#authentication.name != 'anonymousUser' ? #authentication.name : ''}">
|
|
|
|
<th:block th:with="stats = ${siteStatsFinder.getStats()}">
|
|
<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">
|
|
<div class="column column-main pjax">
|
|
<th:block th:replace="${content}"/>
|
|
</div>
|
|
<th:block
|
|
th:if="${theme.config.basic_style.sidebar_column!='only-right'}">
|
|
<th:block th:replace="~{common/widget :: widget('left')}"/>
|
|
</th:block>
|
|
<th:block
|
|
th:if="${theme.config.basic_style.sidebar_column!='only-left'}">
|
|
<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>
|
|
</th:block>
|
|
</html> |