bunteshaus.de/themes/buha/layouts/partials/submenu.html
2022-03-27 15:22:14 +02:00

16 lines
1.1 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 }}
<li style="list-style: none; text-align: right;"><a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname | humanize }}</a></li>
{{ end }}
</p>
</details>
</div>