Fixed SiteMap whom 100% validated
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
ad343f0d3d
commit
c1489ff81b
@ -1,25 +1,24 @@
|
|||||||
---
|
---
|
||||||
|
layout: null
|
||||||
permalink: "sitemap.xml"
|
permalink: "sitemap.xml"
|
||||||
layout: compress
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
|
||||||
<!-- Pages -->
|
|
||||||
{% for item in site.html_pages %}
|
{% for item in site.html_pages %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
||||||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<!-- Posts -->
|
|
||||||
{% for item in site.posts %}
|
{% for item in site.posts %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
||||||
<lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
|
<lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</urlset>
|
</urlset>
|
||||||
|
Loading…
Reference in New Issue
Block a user