From e913efcbf8ab6e15a7dc48bbcfc861e646839786 Mon Sep 17 00:00:00 2001 From: eggy Date: Tue, 6 Jul 2021 17:42:26 -0400 Subject: [PATCH] Add xml declaration to sitemap --- src/sitemap.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/sitemap.html b/src/sitemap.html index 9da8aeb..ff101b2 100644 --- a/src/sitemap.html +++ b/src/sitemap.html @@ -2,12 +2,15 @@ permalink: /sitemap.xml eleventyExcludeFromCollections: true --- + {% for page in collections.all %} + {% if not page.data.draft %} {{ site.url }}{{ page.url | url }} {{ page.date }} {{page.data.changeFreq}} + {% endif %} {% endfor %} - \ No newline at end of file +