summaryrefslogtreecommitdiff
path: root/layouts/_partials/taxonomy/archived-categories.html
blob: 26ed68d87657a51c94ee0102912e08220e497492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<ul class="list-none p-0">
    {{ range .Site.Taxonomies.categories }}
        {{ if .Page.Params.archive }}
        <li class="flex justify-between items-center gap-4">
            <a class="flex-shrink-0" href="{{ .Page.RelPermalink }}">
                <h3 class="xerox">《{{ .Page.LinkTitle }}》</h3>
            </a>
            <div class="w-full"><hr class="m-0" /></div>
            <span class="text-secondary font-mono flex-shrink-0">
                {{ T "archivePage.postCountMonthly" (len .Pages) }}
            </span>
        </li>
        {{ end }}
    {{ end }}
</ul>