feat: make tags display configurable
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<th:block th:fragment="tag-list(post)">
|
||||
<span class="post-tags" th:if="${not post.tags.isEmpty()}"><span class="post-tag" th:each="tag : ${post.tags}"><a data-pjax
|
||||
<th:block th:fragment="tag-list(post, show)">
|
||||
<span class="post-tags" th:if="${show and not post.tags.isEmpty()}"><span class="post-tag" th:each="tag : ${post.tags}"><a data-pjax
|
||||
th:href="@{${tag.status.permalink}}"
|
||||
th:title="${tag.spec.displayName}"
|
||||
th:text="'#'+${tag.spec.displayName}">#Tag</a>
|
||||
|
||||
Reference in New Issue
Block a user