feat: make tags display configurable

This commit is contained in:
Erzbir
2025-11-18 14:04:26 +08:00
parent cc6445a0d9
commit 1c5320e584
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
theme.config.style.custom_time_style : theme.config.style.time_style}__')}">Publish Time</time>
<span class="post-author"
th:with="contributor = ${post.contributors[0]}"
th:text="${contributor.displayName}">Author</span><th:block th:replace="~{modules/tag-list(post = ${post})}"/>
th:text="${contributor.displayName}">Author</span><th:block th:replace="~{modules/tag-list(post = ${post}, show = ${theme.config.index_page.show_tags})}"/>
</div>
</header>
<div class="post-excerpt">