From eba9726d0734e915cd0dbf0190dca39a08d93763 Mon Sep 17 00:00:00 2001 From: "Cliff L. Biffle" Date: Wed, 5 Jun 2019 08:03:22 -0700 Subject: [PATCH] Add XML declaration to XML templates. Without this, at least one search engine spider was generating a validation warning. --- components/templates/src/builtins/rss.xml | 1 + components/templates/src/builtins/sitemap.xml | 1 + components/templates/src/builtins/split_sitemap_index.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/components/templates/src/builtins/rss.xml b/components/templates/src/builtins/rss.xml index d208aa7..8f88973 100644 --- a/components/templates/src/builtins/rss.xml +++ b/components/templates/src/builtins/rss.xml @@ -1,3 +1,4 @@ + {{ config.title }} diff --git a/components/templates/src/builtins/sitemap.xml b/components/templates/src/builtins/sitemap.xml index 2154a5b..54cbee7 100644 --- a/components/templates/src/builtins/sitemap.xml +++ b/components/templates/src/builtins/sitemap.xml @@ -1,3 +1,4 @@ + {% for sitemap_entry in entries %} diff --git a/components/templates/src/builtins/split_sitemap_index.xml b/components/templates/src/builtins/split_sitemap_index.xml index 171665c..44b8c12 100644 --- a/components/templates/src/builtins/split_sitemap_index.xml +++ b/components/templates/src/builtins/split_sitemap_index.xml @@ -1,3 +1,4 @@ + {% for sitemap in sitemaps %}