refactor: refactor configuration logic

This commit is contained in:
Erzbir
2025-11-18 13:11:05 +08:00
parent 7bf2286776
commit 8adc06c65a
11 changed files with 116 additions and 101 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<article class="post">
<header>
<h1 class="post-title"
th:with="title=${theme.config.page.category_title ?: page.category.title ?: 'Category'}"
th:with="title=${theme.config.categories_page.title ?: page.category.title ?: 'Category'}"
th:text="|${title}: ${category.spec.displayName} [${category.status.visiblePostCount ?: 0}]|">
Category: Category name [n]
</h1>