1.0.0
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user