Browse Source

Merge pull request #652 from high-testing/next

specify proper sitemap schema
index-subcmd
Vincent Prouillet GitHub 5 years ago
parent
commit
f1a3045059
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 %}
<url>
<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 %}
<sitemap>
<loc>{{ sitemap }}</loc>


Loading…
Cancel
Save