This commit is contained in:
Valentin Popov 2018-04-12 00:01:28 +00:00
parent d8a41339df
commit 3a6309694d

View File

@ -5,23 +5,27 @@ layout: compress
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="{{ page.permalink | absolute_url | xml_escape }}"?> <?xml-stylesheet type="text/xsl" href="{{ page.permalink | absolute_url | xml_escape }}"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
<!-- Pages --> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
{% for item in site.html_pages %} xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>{{ item.url | absolute_url | xml_escape }}</loc> <!-- Pages -->
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod> {% for item in site.html_pages %}
<changefreq>monthly</changefreq> <url>
<priority>0.5</priority> <loc>{{ item.url | absolute_url | xml_escape }}</loc>
</url> <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
{% endfor %} <changefreq>monthly</changefreq>
<!-- Posts --> <priority>0.5</priority>
{% for item in site.posts %} </url>
<url> {% endfor %}
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
<lastmod>{{ item.date | date_to_xmlschema }}</lastmod> <!-- Posts -->
<changefreq>weekly</changefreq> {% for item in site.posts %}
<priority>0.8</priority> <url>
</url> <loc>{{ item.url | absolute_url | xml_escape }}</loc>
{% endfor %} <lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
{% endfor %}
</urlset> </urlset>