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
specify proper sitemap schema
index-subcmd
sebastien
5 years ago
parent
911396c57f
commit
c2f682ede6
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,4 +1,4 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<urlset xmlns="http
s
://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="http
s
://www.sitemaps.org/schemas/sitemap/0.9
/siteindex.xsd
">
{% for sitemap in sitemaps %}
<sitemap>
<loc>{{ sitemap }}</loc>
Write
Preview
Loading…
Cancel
Save