From b9a43b78b110176762ca3361075c6748fc66af29 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Sun, 24 Nov 2024 18:29:34 +0100 Subject: [PATCH] fix: remove use of deprecated .Site.LastChange property --- layouts/partials/opengraph/include.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/opengraph/include.html b/layouts/partials/opengraph/include.html index cb7cc54..47ca70b 100644 --- a/layouts/partials/opengraph/include.html +++ b/layouts/partials/opengraph/include.html @@ -30,8 +30,8 @@ {{- end -}} {{- else -}} - {{- if not .Site.LastChange.IsZero -}} - + {{- if not .Site.Lastmod.IsZero -}} + {{- end -}} {{- end -}}