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
+1 -1
View File
@@ -4,7 +4,7 @@
<th:block th:fragment="content">
<article class="post">
<header>
<h1 class="post-title">Links</h1>
<h1 class="post-title" th:text="#{page.links.title}">Links</h1>
</header>
<section class="post-content link-section" th:each="group : ${groups}">
<h2 th:text="${!#strings.isEmpty(group.spec.displayName) ? group.spec.displayName:'links'}">