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