{{- /* based on Hugo 0.125.5 sitemap.xml */}} {{- printf "" | safeHTML }} {{- range where .Pages "Sitemap.Disable" "ne" true }} {{- if partial "_relearn/pageIsSpecial.gotmpl" . }} {{- else if and .Title .RelPermalink (or (ne .Site.Params.disableSeoHiddenPages true) (not (partialCached "_relearn/pageIsHiddenSelfOrAncestor.gotmpl" (dict "page" . "to" .Site.Home) .Path .Site.Home.Path) ) ) }} {{ partial "permalink.gotmpl" (dict "to" . "abs" true) }}{{ if not .Lastmod.IsZero }} {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range $index, $trans := .AllTranslations }}{{- if eq $index 0 }} {{ end }} {{ end }}{{ end }} {{- end -}} {{- end }}