forked from Bunteshaus/bunteshaus.de
24 lines
1.2 KiB
HTML
24 lines
1.2 KiB
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 }}
|
|
{{ $orig := $taxonomyname }}
|
|
{{ if ne (i18n $taxonomyname) "" }}
|
|
{{ $taxonomyname = i18n $taxonomyname }}
|
|
{{ else }}
|
|
{{ $taxonomyname = $taxonomyname | humanize }}
|
|
{{ end }}
|
|
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
|
{{ end }}
|
|
</section>
|
|
|