popov.link/_pages/sitemap.xml
Valentin Popov c1489ff81b
Fixed SiteMap whom 100% validated
Signed-off-by: Valentin Popov <info@valentineus.link>
2019-05-03 17:02:15 +04:00

25 lines
542 B
XML

---
layout: null
permalink: "sitemap.xml"
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for item in site.html_pages %}
<url>
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
</url>
{% endfor %}
{% for item in site.posts %}
<url>
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
<lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
</url>
{% endfor %}
</urlset>