mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 11:59:40 +08:00
perf(profile): 添加标签数量统计项
This commit is contained in:
parent
7a331658a6
commit
f5c5481955
@ -609,6 +609,8 @@ spec:
|
||||
label: 文章数量
|
||||
- value: 'category'
|
||||
label: 分类数量
|
||||
- value: 'tag'
|
||||
label: 标签数量
|
||||
- value: 'comment'
|
||||
label: 评论数量
|
||||
- value: 'upvote'
|
||||
|
@ -33,6 +33,10 @@
|
||||
<p class="heading">分类</p>
|
||||
<p class="value" th:text="${stats.category}"></p>
|
||||
</div>
|
||||
<div th:case="tag">
|
||||
<p class="heading">标签</p>
|
||||
<p class="value" th:with="tags = ${tagFinder.listAll()}" th:text="${#lists.size(tags)}"></p>
|
||||
</div>
|
||||
<div th:case="*">
|
||||
<p class="heading">文章</p>
|
||||
<p class="value" th:text="${stats.post}"></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user