<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 目录条，这里使用和 category-bar 同样的 css -->
<div id="category-bar" th:fragment="tag">
    <div class="category-bar-items" id="category-bar-items">
        <div class="category-bar-item select" id="category-bar-home">
            <a href="/">首页</a>
        </div>

        <th:block th:with="tags = ${tagFinder.listAll()}">

            <div class="category-bar-item"
                 th:each="tagItem : ${tags}"
                 th:id="${tagItem.spec.displayName}">
                <a th:href="@{${tagItem.status.permalink}}" th:text="${tagItem.spec.displayName}"></a>
            </div>

        </th:block>
    </div>
    <a class="category-bar-more" th:replace="~{modules/bar/more :: more}">更多</a>
</div>

</html>