c3re-website/themes/hugo-theme-flat/layouts/partials/side-categories.html

13 lines
308 B
HTML
Raw Permalink Normal View History

2023-12-13 22:55:13 +01:00
<div class="side-categories">
<h2>Categories</h2>
<hr />
<ul>
{{ range $key, $_ := .Site.Taxonomies.categories }}
<li>
<a href="{{ "categories/" | relURL }}{{ $key | urlize }}">{{ $key }}({{ .Count }})</a>
</li>
{{ end }}
</ul>
</div>