{{- /* -- Based on the Hugo embedded sitemap template (v0.121.2). -- -- The english articles published as-is in the french site are excluded -- from the sitemap and from the list of alternates, since they are -- duplicates of the original articles. */ -}} {{ printf "" | safeHTML }} {{ range $page := .Data.Pages }} {{- partial "lang-detection.html" . -}} {{- if and .Permalink (not (.Scratch.Get "en_article_in_fr_site")) -}} {{ .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 }}{{ with partial "real-translations.html" . }}{{ range . }} {{ end }} {{ end }} {{- end -}} {{ end }}