From a62a3e7755579d93ce3a87243dd277575930fffe Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 5 Nov 2018 21:49:16 -0500 Subject: init --- themes/even/layouts/sitemap.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 themes/even/layouts/sitemap.xml (limited to 'themes/even/layouts/sitemap.xml') diff --git a/themes/even/layouts/sitemap.xml b/themes/even/layouts/sitemap.xml new file mode 100644 index 0000000..19dd68d --- /dev/null +++ b/themes/even/layouts/sitemap.xml @@ -0,0 +1,11 @@ +{{ "" | safeHTML }} + + {{ range .Data.Pages }} + + {{ .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 }} + + {{ end }} + \ No newline at end of file -- cgit v1.2.3