hugo-theme-flat/layouts/partials/side-categories.html

12 lines
299 B
HTML
Raw Normal View History

2022-04-27 13:54:00 +00:00
<div class="side-categories">
<h2>Categories</h2>
<hr />
<ul>
{{ range $key, $_ := .Site.Taxonomies.categories }}
<li>
<a href="{{ "/categories/" }}{{ $key | urlize }}">{{ $key }}({{ .Count }})</a>
</li>
{{ end }}
</ul>
</div>