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 . }} {{ range . }}
<sitemap> <sitemap>
<loc>{{ .SitemapAbsURL }}</loc> <loc>{{ .SitemapAbsURL }}</loc>
{{ if not .LastChange.IsZero }} {{ if not .Lastmod.IsZero }}
<lastmod>{{ .LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod> <lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
{{ end }} {{ end }}
</sitemap> </sitemap>
{{ end }} {{ end }}