blob: 6b6be8dd87e6fa1efe0f2e7d26f56f41719881a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{ range .Data.Pages }}
{{ if not (or (strings.HasSuffix .RelPermalink "/addons/") (strings.HasSuffix .RelPermalink "/admin/")) }}
<url>
<loc>{{- .Permalink -}}</loc>
<lastmod>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</lastmod>
{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>
{{ end }}
{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>
{{ end }}
</url>
{{ end }}
{{ end }}
</urlset>
|