[FIX] failed build on some newer hugo versions #55
|
@ -8,11 +8,11 @@
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
{{- with .Params.publishDate }}
|
{{- with .PublishDate }}
|
||||||
<small class="li-comma">Veröffentlicht: {{ .Format "2006-01-02 15:04" }}</small>
|
<small class="li-comma">Veröffentlicht: {{ .Format "2006-01-02 15:04" }}</small>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Params.lastmod.After .Params.publishDate }}
|
{{- if .Lastmod.After .PublishDate }}
|
||||||
{{- with .Params.lastmod }}
|
{{- with .Lastmod }}
|
||||||
<small class="li-comma">letzte Änderung: {{ .Format "2006-01-02 15:04" }}</small>
|
<small class="li-comma">letzte Änderung: {{ .Format "2006-01-02 15:04" }}</small>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue