2019-05-27 02:08:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-11-17 04:45:26 +00:00
|
|
|
<urlset xmlns="http://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>
|
2020-06-23 04:27:55 +00:00
|
|
|
{% if post.updated %}
|
2020-07-01 06:46:16 +00:00
|
|
|
<lastmod>{{ post.updated | formatDate }}</lastmod>
|
2019-05-27 02:08:57 +00:00
|
|
|
{% elif post.date %}
|
2020-07-01 06:46:16 +00:00
|
|
|
<lastmod>{{ post.date | formatDate }}</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>
|
2020-08-21 12:37:10 +00:00
|
|
|
<loc>{{ config.root | fullUrlFor }}</loc>
|
2020-07-01 06:46:16 +00:00
|
|
|
<lastmod>{% if posts[0].updated %}{{ posts[0].updated | formatDate }}{% else %}{{ posts[0].date | formatDate }}{% endif %}</lastmod>
|
|
|
|
</url>
|
2019-05-27 02:08:57 +00:00
|
|
|
|
2019-10-17 06:01:35 +00:00
|
|
|
{# archive page #}
|
|
|
|
<url>
|
2020-08-21 12:37:10 +00:00
|
|
|
<loc>{{ config.archive_dir | fullUrlFor + '/' }}</loc>
|
2020-07-01 06:46:16 +00:00
|
|
|
<lastmod>{% if posts[0].updated %}{{ posts[0].updated | formatDate }}{% else %}{{ posts[0].date | formatDate }}{% endif %}</lastmod>
|
2019-10-17 06:01:35 +00:00
|
|
|
</url>
|
2020-07-01 06:46:16 +00:00
|
|
|
|
2019-10-17 06:01:35 +00:00
|
|
|
{% for tag in tags %}
|
2020-07-01 06:46:16 +00:00
|
|
|
<url>
|
|
|
|
<loc>{{ tag.permalink }}</loc>
|
|
|
|
<lastmod>{% if tag.posts.first().updated %}{{ tag.posts.first().updated | formatDate }}{% else %}{{ tag.posts.first().date | formatDate }}{% endif %}</lastmod>
|
|
|
|
</url>
|
2019-05-27 02:08:57 +00:00
|
|
|
{% endfor %}
|
|
|
|
</urlset>
|