Browse Source

specify proper sitemap schema

index-subcmd
sebastien 5 years ago
parent
commit
c2f682ede6
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,4 +1,4 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
{% for sitemap_entry in entries %} {% for sitemap_entry in entries %}
<url> <url>
<loc>{{ sitemap_entry.permalink | safe }}</loc> <loc>{{ sitemap_entry.permalink | safe }}</loc>


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

@@ -1,4 +1,4 @@
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
{% for sitemap in sitemaps %} {% for sitemap in sitemaps %}
<sitemap> <sitemap>
<loc>{{ sitemap }}</loc> <loc>{{ sitemap }}</loc>


Loading…
Cancel
Save