<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 目录 -->
<div class="card-widget card-categories" th:fragment="categories"
     th:with="categories =  ${categoryFinder.list(1, theme.config.sidebar.categoryQuantity)}">
    <div class="item-headline"><i class="iconfont icon-folder-open"></i><span>分类</span></div>
    <div class="aside-list">
        <ul class="card-category-list">
            <li class="card-category-list-item" th:each="category,iterStat : ${categories}">
                <a class="card-category-list-link" th:href="@{${category.status.permalink}}">
                        <span class="card-category-list-name" th:text="${category.spec.displayName}"
                              th:title="${category.spec.displayName}"></span>
                    <span class="card-category-list-count" th:text="${category.status.visiblePostCount}"></span>
                </a>
            </li>
        </ul>


    </div>
</div>

</html>
