Skip to content

Commit f038a51

Browse files
jmooringbep
authored andcommitted
tpl/tplimpl: Remove deprecated method from sitemapindex.xml
1 parent b4bff61 commit f038a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tpl/tplimpl/embedded/templates/_default/sitemapindex.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
{{ range . }}
44
<sitemap>
55
<loc>{{ .SitemapAbsURL }}</loc>
6-
{{ if not .LastChange.IsZero }}
7-
<lastmod>{{ .LastChange.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
6+
{{ if not .Lastmod.IsZero }}
7+
<lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
88
{{ end }}
99
</sitemap>
1010
{{ end }}

0 commit comments

Comments
 (0)