feat(theme): 提供i18n能力

这个提交包含在:
2025-06-27 18:32:09 +08:00 未验证
父节点 6731cb5805
当前提交 ce75a9bd4f
修改 17 个文件,包含 352 行新增20 行删除
+2 -2
查看文件
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{modules/layout :: html(header = null, content = ~{::content}, footer = null)}"
th:replace="~{modules/layout :: html(title = |#{page.categories.title} - ${site.title}|, header = null, content = ~{::content}, footer = null)}"
>
<th:block th:fragment="content">
<div class="content">
<div class="post">
<h1 class="post-title">所有分类</h1>
<ul>
<li th:replace="~{modules/category-tree :: single(categories=${categories})}" />
<li th:replace="~{modules/category-tree :: single(categories=${categories})}"></li>
</ul>
</div>
</div>