This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
zola
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Update sitemaps namespace
Closes
#722
index-subcmd
Vincent Prouillet
5 years ago
parent
f26f7719c6
commit
627222afad
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/templates/src/builtins/sitemap.xml
+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="http
s
://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="http
s
://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>
Write
Preview
Loading…
Cancel
Save