bunteshaus.de/themes/buha/layouts/partials/structure/langs.html

11 lines
370 B
HTML
Raw Normal View History

2022-04-05 16:11:40 +02:00
{{ if not .IsHome }}
{{ if .Translations }}
<li class="align_menu"><h3>{{ "Languages" }}</h3></li>
{{ range .Translations }}
{{ if ne .Lang $.Lang }}
2022-04-08 13:22:50 +02:00
<li class="align_menu"><a href="{{- .Permalink -}}">{{- if i18n .Lang -}}{{- i18n .Lang -}}{{- else -}}{{- humanize .Lang -}}{{ end }}</a></li>
2022-04-05 16:11:40 +02:00
{{ end }}
2022-04-04 21:26:28 +02:00
{{ end }}
{{ end }}
2022-04-04 23:21:39 +02:00
{{ end }}