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
+2 -1
View File
@@ -7,7 +7,8 @@
<article class="post">
<header>
<h1 class="post-title"
th:text="|#{page.category.title}: ${category.spec.displayName} [${category.status.visiblePostCount ?: 0}]|">
th:with="title=${theme.config.page.category_title ?: page.category.title ?: 'Category'}"
th:text="|${title}: ${category.spec.displayName} [${category.status.visiblePostCount ?: 0}]|">
Category: Category name [n]
</h1>
</header>