From: Joe Mooring Date: Thu, 14 Mar 2024 17:11:43 +0000 (-0700) Subject: tpl/tplimpl: Remove deprecated method from sitemapindex.xml X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f038a51b3e448286287b56bed6dd76e9b00138d5;p=brevno-suite%2Fhugo tpl/tplimpl: Remove deprecated method from sitemapindex.xml --- diff --git a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml index 01cf65bc5..d6eec055d 100644 --- a/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml +++ b/tpl/tplimpl/embedded/templates/_default/sitemapindex.xml @@ -3,8 +3,8 @@ {{ range . }} {{ .SitemapAbsURL }} - {{ if not .LastChange.IsZero }} - {{ .LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + {{ if not .Lastmod.IsZero }} + {{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }} {{ end }} {{ end }}