remove old date function

This commit is contained in:
Vri 🌈 2023-03-05 17:40:50 +01:00
parent e32da340a0
commit cfdbeb7e36
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -9,7 +9,7 @@
<h1 class="title">{{ .Title }}</h1>
<p>{{ .Content }}</p>
{{- range .Pages }}
<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>
<p> <a href="{{ .Permalink }}">{{ .Title }}</a> <span>{{ .Date | time.Format ":date_long" }}</span> </p>
{{- end }}
</main>