feat: support i18n

This commit is contained in:
Erzbir
2025-08-05 20:18:50 +08:00
parent 41d2408359
commit b80650db3b
19 changed files with 95 additions and 27 deletions
+2 -2
View File
@@ -33,7 +33,7 @@
</nav>
<section class="pagination">
<div class="pagination__title">
<span class="pagination__title-h">Read other posts</span>
<span class="pagination__title-h" th:text="#{page.post.pagination}">READ OTHER POSTS</span>
<hr/>
</div>
<div class="pagination__buttons" th:with="postCursor=${postFinder.cursor(post.metadata?.name)}">
@@ -50,7 +50,7 @@
</div>
</section>
<section class="comment" th:if="${haloCommentEnabled}">
<h2>Comments</h2>
<h2 th:text="#{page.post.comment}">Comments</h2>
<halo:comment group="content.halo.run" kind="Post" th:attr="name=${post.metadata.name}"/>
</section>
</th:block>