mirror of https://gitlab.com/curben/blog
14 lines
378 B
XML
14 lines
378 B
XML
|
<?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 }}</loc>
|
||
|
{% if post.updated %}
|
||
|
<lastmod>{{ post.updated | formatDate }}</lastmod>
|
||
|
{% elif post.date %}
|
||
|
<lastmod>{{ post.date | formatDate }}</lastmod>
|
||
|
{% endif %}
|
||
|
</url>
|
||
|
{% endfor %}
|
||
|
</urlset>
|