This commit is contained in:
Erzbir
2025-07-31 15:03:34 +08:00
commit d5c80de2c8
63 changed files with 4514 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<!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>
<section class="post-content">
<div th:utext="${singlePage.content.content}">Post Content</div>
</section>
</article>
<section class="comment" th:if="${haloCommentEnabled}">
<h2>Comments</h2>
<halo:comment group="content.halo.run" kind="SinglePage" th:attr="name=${singlePage.metadata.name}"/>
</section>
</th:block>
</html>