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

13 lines
308 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>
2022-09-04 11:11:04 +00:00
<a href="{{ "categories/" | relURL }}{{ $key | urlize }}">{{ $key }}({{ .Count }})</a>
2022-04-27 13:54:00 +00:00
</li>
{{ end }}
</ul>
</div>