aboutsummaryrefslogtreecommitdiff
path: root/_pages
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-05-03 16:02:15 +0300
committerValentin Popov <info@valentineus.link>2019-05-03 16:02:15 +0300
commitc1489ff81bd089be73aa00cc645d865e0c45068c (patch)
tree52659c69a79f4930902af121f554aaa10f3821c6 /_pages
parentad343f0d3d4213f473fb89b54e5c023699914500 (diff)
downloadpopov.link-c1489ff81bd089be73aa00cc645d865e0c45068c.tar.xz
popov.link-c1489ff81bd089be73aa00cc645d865e0c45068c.zip
Fixed SiteMap whom 100% validated
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_pages')
-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>