bunteshaus.de/themes/buha/layouts/partials/sidebar.html
2022-03-27 15:01:04 +02:00

18 lines
954 B
HTML

{{ $s := .Site.Params }}
<section class="sidebar_inner">
<a href="/events"><h3 class="mt-4 taxonomy" id="categories-section">{{ T "events" }}</h3></a>
<!-- {{- $featured := where .Site.RegularPages "Params.featured" true }}
{{ if $featured }}
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "featured" | urlize }}">{{ "featured" | T | humanize }}</a></li>
{{ end }} -->
{{- $recurrent := where .Site.RegularPages "Params.recurrent" true }}
{{ if $recurrent }}
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li>
{{ end }}
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname | humanize }}</a></li>
{{ end }}
</section>