forked from Bunteshaus/bunteshaus.de
28 lines
1.9 KiB
HTML
28 lines
1.9 KiB
HTML
<div>
|
|
<details>
|
|
<summary style="list-style: none; text-align: right;">Menü ☰</summary>
|
|
<p>
|
|
|
|
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
|
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.eventcategories }}
|
|
{{ $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 }}
|
|
{{ if .IsHome }}
|
|
<div class="footer_color" style="margin-top: 1rem; text-align: right;"><b>Languages</b></div>
|
|
{{ range $.Site.Home.AllTranslations }}
|
|
{{ if ne .Lang $.Lang }}
|
|
<li style="list-style: none; text-align: right;"><a href="{{- .Permalink -}}" class="underline">{{- .Lang -}}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</p>
|
|
</details>
|
|
</div>
|