Skip to content

Commit

Permalink
tpl/tplimpl: Remove deprecated method from sitemapindex.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored and bep committed Mar 14, 2024
1 parent b4bff61 commit f038a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tpl/tplimpl/embedded/templates/_default/sitemapindex.xml
Expand Up @@ -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 }}
Expand Down

0 comments on commit f038a51

Please sign in to comment.