<loc>{{ partial "relLangPrettyUglyURL.hugo" (dict "to" . "abs" true) }}</loc>{{ if not .Lastmod.IsZero }}
<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 $index, $trans := .AllTranslations }}{{- if eq $index 0 }}
<xhtml:linkrel="alternate"hreflang="x-default"href="{{ partial "relLangPrettyUglyURL.hugo"(dict"to"."abs"true)}}"/>{{ end }}
<xhtml:linkrel="alternate"hreflang="{{ .Language.LanguageCode }}"href="{{ partial "relLangPrettyUglyURL.hugo"(dict"to"."abs"true)}}"/>{{ end }}{{ end }}