aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/sitemapindex.xml
blob: 71123171278251ba8706c5b5e0c3ab706ee36adf (plain) (blame)
1
2
3
4
5
6
7
8
9
{{ 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>
		<lastmod>{{ now.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod>
	</sitemap>
	{{- end }}
</sitemapindex>