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.categories.title}">Categories</h1>
<h1 class="post-title"
th:with="title=${theme.config.page.categories_title ?: page.categories.title ?: 'Categories'}"
th:text="${title}">
Categories
</h1>
</header>
<div class="post-content">
<ul>