Fix date on blog list
This commit is contained in:
parent
fdee470516
commit
e32da340a0
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue