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 %}
|
|
|
|
|
2019-06-12 08:24:08 +00:00
|
|
|
{# home page #}
|
2019-05-27 02:08:57 +00:00
|
|
|
<url>
|
2019-06-12 08:24:08 +00:00
|
|
|
<loc>{{ config.url + '/' + config.archive_dir + '/' }}</loc>
|
2019-05-27 02:08:57 +00:00
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>1.0</priority>
|
|
|
|
</url>
|
|
|
|
|
2019-06-12 08:24:08 +00:00
|
|
|
{# tag pages #}
|
2019-05-27 02:08:57 +00:00
|
|
|
{% for tag in tags %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ tag.permalink }}</loc>
|
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>0.6</priority>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
|
2019-06-12 08:24:08 +00:00
|
|
|
{# categories pages #}
|
2019-05-27 02:08:57 +00:00
|
|
|
{% for cat in categories %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ cat.permalink }}</loc>
|
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
<changefreq>daily</changefreq>
|
|
|
|
<priority>0.6</priority>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</urlset>
|