added translation

This commit is contained in:
Vrifox 2021-05-24 22:24:58 +02:00
parent 47cd614136
commit 5dca124b24
Signed by: vrifox
GPG key ID: D40098E5B60B2197
4 changed files with 25 additions and 5 deletions

View file

@ -9,7 +9,7 @@
<main>
<h1 class="title">{{ .Title }}</h1>
{{- range .Pages }}
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Format "2 January 2006" }}</span> </p>
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date.Day }}. {{ if eq .Params.lang "de"}} {{ index $.Site.Data.monate (printf "%d" .Date.Month) }} {{ else }} {{ .Date.Month }} {{ end }} {{ .Date.Year }}</span> </p>
{{- end }}
</main>