{{ printf "" | safeHTML }} {{ range .Data.Pages }} {{ if not (in .Site.Params.sitemap.excludedKinds .Kind) }} {{ if and (.Param "xml" | default true) (not (isset .Params "externalurl")) }} {{- if .Permalink -}} {{ .Permalink }}{{ 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 .Translations }} {{ end }} {{ end }} {{- end -}} {{ end }} {{ end }} {{ end }}