mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
tpl/tplimpl: Remove deprecated method from sitemapindex.xml
This commit is contained in:
parent
b4bff6190c
commit
f038a51b3e
1 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue