feat(theme): 提供i18n能力

这个提交包含在:
2025-06-27 18:32:09 +08:00 未验证
父节点 6731cb5805
当前提交 ce75a9bd4f
修改 17 个文件,包含 352 行新增20 行删除
@@ -1,7 +1,7 @@
<ul th:fragment="next (categories)">
<li th:fragment="single (categories)" th:each="category : ${categories}">
<a th:href="@{${category.status.permalink}}">
<span th:text="${category.spec.displayName}+' ('+${category.status.visiblePostCount}+' 篇文章)'"> </span>
<span th:text="${category.spec.displayName}+' ('+${category.status.visiblePostCount?:0}+' 篇文章)'"> </span>
</a>
<th:block th:if="${not #lists.isEmpty(category.children)}">
<th:block th:replace="~{modules/category-tree :: next (categories=${category.children})}"></th:block>