bunteshaus.de/themes/buha/layouts/partials/structure/sidebar.html
2022-04-04 19:28:17 +02:00

18 lines
643 B
HTML

{{ $s := .Site.Params }}
<section class="sidebar_inner">
{{ partial "structure/sidebar_submenu" . }}
{{ if .IsHome }}
<h4>{{ "Languages" }}</h3>
{{ range .Translations }}
{{ if ne .Lang $.Lang }}
<li style="list-style: none;"><a href="{{- .Permalink -}}">{{- i18n .Lang -}}</a></li>
{{ end }}
{{ end }}
{{ end }}
{{ $t := where .Site.Taxonomies.categories ".Page.Section" "events" }}
{{ range $t }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></li>
{{ end }}
</section>