Files
halo_theme_terminal/templates/page.html
T
2025-08-10 17:21:56 +08:00

20 lines
763 B
HTML

<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{modules/layout :: html(title = |${singlePage.spec.title} - ${site.title}|, header = null, content = ~{::content}, footer = null)}"
>
<th:block th:fragment="content">
<article class="post">
<header>
<h1 class="post-title" th:text="${singlePage.spec.title}">Post Title</h1>
</header>
<div class="post-content">
<div th:utext="${singlePage.content.content}">Post Content</div>
</div>
</article>
<th:block
th:replace="~{modules/comment :: comment(group = 'content.halo.run', kind = 'SinglePage', name = ${singlePage.metadata.name})}"
th:if="${haloCommentEnabled}"/>
</th:block>
</html>