File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ node_modules/
88
99latest_release.json
1010.hugo_build.lock
11+ * .tar.gz
Original file line number Diff line number Diff line change 1+ {{ printf "<?xml version =\" 1.0\" encoding =\" utf-8\" standalone =\" yes\" ?>" | safeHTML }}
2+ <urlset xmlns =" http://www.sitemaps.org/schemas/sitemap/0.9"
3+ xmlns : xhtml =" http://www.w3.org/1999/xhtml" >
4+ {{ range .Site.AllPages }}
5+ {{- if and (not .Params.sitemap_exclude) (not .Draft) }}
6+ <url >
7+ <loc >{{ .Permalink }}</loc >
8+ {{- if not .Lastmod.IsZero }}
9+ <lastmod >{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</lastmod >
10+ {{- end }}
11+ {{- with .Sitemap.ChangeFreq }}
12+ <changefreq >{{ . }}</changefreq >
13+ {{- end }}
14+ {{- if ge .Sitemap.Priority 0.0 }}
15+ <priority >{{ .Sitemap.Priority }}</priority >
16+ {{- end }}
17+ </url >
18+ {{- end }}
19+ {{ end }}
20+ </urlset >
You can’t perform that action at this time.
0 commit comments