mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 04:19:41 +08:00
fix(categories): 修复多级分类导致的500错误,#3
This commit is contained in:
parent
b9a8f3b74c
commit
86a39f29ca
@ -24,7 +24,7 @@
|
|||||||
<span class="level-item tag" th:text="${category.status.postCount}"></span>
|
<span class="level-item tag" th:text="${category.status.postCount}"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul th:if="${!#lists.isEmpty(category.children)}">
|
<ul th:if="${!#lists.isEmpty(category.children)}">
|
||||||
<th:block th:replace="~{:: categories (category.children)}"/>
|
<th:block th:replace="~{:: categories (${category.children})}"/>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user