diff --git a/layouts/sitemap.xml b/layouts/sitemap.xml index 0c8f565eff..9d56679e95 100644 --- a/layouts/sitemap.xml +++ b/layouts/sitemap.xml @@ -10,7 +10,9 @@ {{- if ne .Params.sitemap false }} {{ .Permalink}} + {{- if not .Lastmod.IsZero }} {{ .Lastmod | time.Format "2006-01-02" }} + {{- end }} monthly 0.5