bunteshaus.de/themes/buha/layouts/partials/sidebar.html

18 lines
954 B
HTML
Raw Normal View History

2022-03-26 19:22:14 +01:00
{{ $s := .Site.Params }}
2021-10-23 22:20:01 +02:00
<section class="sidebar_inner">
2022-03-27 14:42:21 +02:00
2022-03-27 15:01:04 +02:00
<a href="/events"><h3 class="mt-4 taxonomy" id="categories-section">{{ T "events" }}</h3></a>
<!-- {{- $featured := where .Site.RegularPages "Params.featured" true }}
2022-03-27 14:24:21 +02:00
{{ if $featured }}
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "featured" | urlize }}">{{ "featured" | T | humanize }}</a></li>
2022-03-27 15:01:04 +02:00
{{ end }} -->
2022-03-27 14:24:21 +02:00
{{- $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 }}
2022-03-27 14:42:21 +02:00
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
2022-03-27 03:17:45 +02:00
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname | humanize }}</a></li>
{{ end }}
2022-03-26 19:22:14 +01:00
</section>