diff --git a/themes/digital.gov/layouts/sitemap.xml b/themes/digital.gov/layouts/sitemap.xml index 5a4f8613d4..b86f4ab59a 100644 --- a/themes/digital.gov/layouts/sitemap.xml +++ b/themes/digital.gov/layouts/sitemap.xml @@ -1,9 +1,9 @@ {{ range .Data.Pages }} - https://digital.gov{{ .Permalink | relURL }}{{ 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 }} + https://digital.gov{{ .Permalink | relURL }} + {{ safeHTML ( .Date | time.Format "2006-01-02" ) }} + {{ with .Sitemap.ChangeFreq }}{{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} {{ .Sitemap.Priority }}{{ end }} {{ end }}