2019-05-27 02:08:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-10-17 10:24:55 +00:00
|
|
|
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
|
2019-05-27 02:08:57 +00:00
|
|
|
{% for post in posts %}
|
|
|
|
<url>
|
2019-10-17 06:01:35 +00:00
|
|
|
<loc>{{ post.permalink }}</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-10-17 06:01:35 +00:00
|
|
|
<loc>{{ config.url + config.root }}</loc>
|
2019-05-27 02:08:57 +00:00
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
</url>
|
|
|
|
|
2019-10-17 06:01:35 +00:00
|
|
|
{# archive page #}
|
|
|
|
<url>
|
|
|
|
<loc>{{ config.url + '/' + archive_dir + '/' }}</loc>
|
2019-05-27 02:08:57 +00:00
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
2019-10-17 06:01:35 +00:00
|
|
|
</url>
|
2019-05-27 02:08:57 +00:00
|
|
|
|
2019-10-17 06:01:35 +00:00
|
|
|
{# tag pages #}
|
|
|
|
{% for tag in tags %}
|
2019-05-27 02:08:57 +00:00
|
|
|
<url>
|
2019-10-17 06:01:35 +00:00
|
|
|
<loc>{{ tag.permalink }}</loc>
|
2019-05-27 02:08:57 +00:00
|
|
|
<lastmod>{{ sNow }}</lastmod>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
</urlset>
|