[FIX] failed build on some newer hugo versions
might need v0.123.0 or greater
This commit is contained in:
parent
76dcc69074
commit
462fb7ed68
|
@ -8,11 +8,11 @@
|
|||
</section>
|
||||
|
||||
<div class="meta">
|
||||
{{- with .Params.publishDate }}
|
||||
{{- with .PublishDate }}
|
||||
<small class="li-comma">Veröffentlicht: {{ .Format "2006-01-02 15:04" }}</small>
|
||||
{{- end }}
|
||||
{{- if .Params.lastmod.After .Params.publishDate }}
|
||||
{{- with .Params.lastmod }}
|
||||
{{- if .Lastmod.After .PublishDate }}
|
||||
{{- with .Lastmod }}
|
||||
<small class="li-comma">letzte Änderung: {{ .Format "2006-01-02 15:04" }}</small>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue