Browse Source

Update sitemaps namespace

Closes #722
index-subcmd
Vincent Prouillet 4 years ago
parent
commit
627222afad
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      components/templates/src/builtins/sitemap.xml
  2. +1
    -1
      components/templates/src/builtins/split_sitemap_index.xml

+ 1
- 1
components/templates/src/builtins/sitemap.xml View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for sitemap_entry in entries %}
<url>
<loc>{{ sitemap_entry.permalink | urlencode | safe }}</loc>


+ 1
- 1
components/templates/src/builtins/split_sitemap_index.xml View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for sitemap in sitemaps %}
<sitemap>
<loc>{{ sitemap }}</loc>


Loading…
Cancel
Save