分类按文章数量倒序
parent
4abc4fd28c
commit
b9a0ddca81
|
@ -6,14 +6,14 @@
|
|||
</h3>
|
||||
<ul class="menu-list">
|
||||
<@categoryTag method="list">
|
||||
<#list categories as category>
|
||||
<#list categories?sort_by("postCount")?reverse as category>
|
||||
<li>
|
||||
<a class="level is-marginless" href="${category.fullPath!}">
|
||||
<span class="level-start">
|
||||
<span class="level-item">${category.name}</span>
|
||||
<span class="level-item">${category.name!}</span>
|
||||
</span>
|
||||
<span class="level-end">
|
||||
<span class="level-item tag">${category.postCount}</span>
|
||||
<span class="level-item tag">${category.postCount!'0'}</span>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue