This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/categories.ftl

22 lines
759 B
Plaintext
Raw Permalink Normal View History

2021-12-28 08:36:20 +08:00
<#include "module/macro.ftl">
<@layout title="分类列表 - ${blog_title!}">
<main>
<#include "module/header.ftl">
2021-12-31 15:53:37 +08:00
<div class="categories">
<ul id="categories">
<@categoryTag method="list">
<#if categories?? && categories?size gt 0>
<#list categories as category>
<li>
<a href="${category.fullPath!}">
${category.name!} <span class="count">${category.postCount!0}</span>
</a>
</li>
</#list>
</#if>
</@categoryTag>
</ul>
</div>
</main>
2021-12-28 08:36:20 +08:00
</@layout>