bunteshaus.de/themes/buha/layouts/partials/nottranslated.html
2022-03-27 20:20:47 +02:00

19 lines
579 B
HTML

<h1>not Translated</h1>
{{ $all_lang := $.Site.Home.Translations }}
{{ range site.RegularPages }}
<a href="{{ .Permalink}}">{{ .Name }}:</a>
{{ if .Translations }}
{{ range .Translations }}
{{ $t1 := .Language }}
{{ range $all_lang }}
{{- $a := .Language -}}
{{- $b := $.Site.Language.Lang -}}
{{ if ne $t1 .Language }}
missing: {{ .Language }}<br>
{{ end }}
{{ end }}
{{ end }}
{{ else }}
no translations<br>
{{ end }}
{{ end }}