From 462fb7ed684b5958df71f79520516b7869608a41 Mon Sep 17 00:00:00 2001 From: jtbx Date: Tue, 12 Mar 2024 21:20:26 +0100 Subject: [PATCH] [FIX] failed build on some newer hugo versions might need v0.123.0 or greater --- themes/ccchh/layouts/blog/single.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/ccchh/layouts/blog/single.html b/themes/ccchh/layouts/blog/single.html index 31e7de3..e1b4503 100644 --- a/themes/ccchh/layouts/blog/single.html +++ b/themes/ccchh/layouts/blog/single.html @@ -8,11 +8,11 @@
- {{- with .Params.publishDate }} + {{- with .PublishDate }} Veröffentlicht: {{ .Format "2006-01-02 15:04" }} {{- end }} - {{- if .Params.lastmod.After .Params.publishDate }} - {{- with .Params.lastmod }} + {{- if .Lastmod.After .PublishDate }} + {{- with .Lastmod }} letzte Änderung: {{ .Format "2006-01-02 15:04" }} {{- end }} {{- end }}