feat: page title custom

This commit is contained in:
Erzbir
2025-11-15 02:08:02 +08:00
parent 5f74797c02
commit c3b3299cad
7 changed files with 52 additions and 6 deletions
+5 -1
View File
@@ -6,7 +6,11 @@
<th:block th:fragment="content">
<article class="post">
<header>
<h1 class="post-title" th:text="#{page.archives.title}">Archives</h1>
<h1 class="post-title"
th:with="title=${theme.config.page.archives_title ?: page.archives.title ?: 'Archives'}"
th:text="${title}">
Archives
</h1>
</header>
<div>
<th:block th:each="archive : ${archives.items}">