diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml index 7fdcc504..9f6c6ae1 100644 --- a/layouts/sitemap.xml +++ b/layouts/sitemap.xml @@ -4,7 +4,7 @@ {{ printf "" | safeHTML }} - {{ range .Data.Pages }} + {{ range .Data.Pages }}{{ if ne .Params.offTheRecord true }} {{ .Permalink }}{{ if not .Lastmod.IsZero }} {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} @@ -21,5 +21,5 @@ href="{{ .Permalink }}" />{{ end }} - {{ end }} + {{ end }}{{ end }} \ No newline at end of file