forked from Bunteshaus/bunteshaus.de
22 lines
1.5 KiB
HTML
22 lines
1.5 KiB
HTML
<div>
|
|
<details>
|
|
<summary style="list-style: none; text-align: right;">Termine ☰</summary>
|
|
<p>
|
|
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
|
<!-- {{- $recurrent := where .Site.RegularPages "Params.recurrent" true }}
|
|
{{ if $recurrent }}
|
|
<li style="list-style: none; text-align: right;"><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; text-align: right;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
|
{{ end }}
|
|
</p>
|
|
</details>
|
|
</div>
|