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 . }}
|
{{ 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 }}
|
||||||
|
|
Loading…
Reference in a new issue