aboutsummaryrefslogtreecommitdiff
path: root/_pages/sitemap.xml
diff options
context:
space:
mode:
Diffstat (limited to '_pages/sitemap.xml')
-rw-r--r--_pages/sitemap.xml23
1 files changed, 11 insertions, 12 deletions
diff --git a/_pages/sitemap.xml b/_pages/sitemap.xml
index 4fa094e..9b70b46 100644
--- a/_pages/sitemap.xml
+++ b/_pages/sitemap.xml
@@ -1,25 +1,24 @@
---
+layout: null
permalink: "sitemap.xml"
-layout: compress
---
<?xml version="1.0" encoding="utf-8"?>
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
-<!-- Pages -->
{% for item in site.html_pages %}
- <url>
- <loc>{{ item.url | absolute_url | xml_escape }}</loc>
- <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
- </url>
+ <url>
+ <loc>{{ item.url | absolute_url | xml_escape }}</loc>
+ <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
+ </url>
{% endfor %}
-<!-- Posts -->
{% for item in site.posts %}
- <url>
- <loc>{{ item.url | absolute_url | xml_escape }}</loc>
- <lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
- </url>
+ <url>
+ <loc>{{ item.url | absolute_url | xml_escape }}</loc>
+ <lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
+ </url>
{% endfor %}
-</urlset> \ No newline at end of file
+</urlset>