tpl/tplimpl/embedded/templates/sitemapindex.xml
raw| 1 | {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} |
| 2 | <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> |
| 3 | {{ range . }} |
| 4 | <sitemap> |
| 5 | <loc>{{ .SitemapAbsURL }}</loc> |
| 6 | {{ if not .Lastmod.IsZero }} |
| 7 | <lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod> |
| 8 | {{ end }} |
| 9 | </sitemap> |
| 10 | {{ end }} |
| 11 | </sitemapindex> |