Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
1.0 KiB
XML
Raw Permalink Normal View History

2019-05-23 06:59:26 -07:00
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{ range .Data.Pages }}
{{ if not (or .Params.private .Params.block_external_search_index) }}
2019-05-23 06:59:26 -07:00
<url>
<loc>{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}</loc>{{ if not .Lastmod.IsZero }}
2019-05-23 06:59:26 -07:00
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
<xhtml:link
rel="alternate"
hreflang="{{ .Lang }}"
href="{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}"
2019-05-23 06:59:26 -07:00
/>{{ end }}
<xhtml:link
rel="alternate"
hreflang="{{ .Lang }}"
href="{{ .Site.Params.canonicalURL }}{{ .RelPermalink }}"
2019-05-23 06:59:26 -07:00
/>{{ end }}
</url>
{{ end }}
{{ end }}
</urlset>