tpl/tplimpl: Remove deprecated method from sitemapindex.xml

This commit is contained in:
Joe Mooring 2024-03-14 10:11:43 -07:00 committed by Bjørn Erik Pedersen
parent b4bff6190c
commit f038a51b3e

View file

@ -3,8 +3,8 @@
{{ range . }}
<sitemap>
<loc>{{ .SitemapAbsURL }}</loc>
{{ if not .LastChange.IsZero }}
<lastmod>{{ .LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
{{ if not .Lastmod.IsZero }}
<lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
{{ end }}
</sitemap>
{{ end }}