2019-05-27 02:08:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
|
|
{% for post in posts %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ post.permalink | uriencode }}</loc>
|
2019-06-04 03:38:09 +00:00
|
|
|
{% if post.lastUpdated() %}
|
|
|
|
<lastmod>{{ post.lastUpdated() }}</lastmod>
|
2019-05-27 02:08:57 +00:00
|
|
|
{% elif post.date %}
|
2019-06-04 03:38:09 +00:00
|
|
|
<lastmod>{{ post.date }}</lastmod>
|
2019-05-27 02:08:57 +00:00
|
|
|
{% endif %}
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{# ------------- home page - with now date #}
|
|
|
|
<url>
|
|
|
|
<loc>{{ config.url }}</loc>
|
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>1.0</priority>
|
|
|
|
</url>
|
|
|
|
|
|
|
|
{# ------------- tag pages #}
|
|
|
|
{% for tag in tags %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ tag.permalink }}</loc>
|
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>0.6</priority>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{# ------------- categories pages #}
|
|
|
|
{% for cat in categories %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ cat.permalink }}</loc>
|
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>0.6</priority>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</urlset>
|