mirror of
https://github.com/captn3m0/news.git
synced 2024-09-20 00:57:02 +00:00
15 lines
615 B
XML
15 lines
615 B
XML
---
|
|
---
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
|
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
{% assign pages = site.html_pages | where_exp:'doc','doc.url != "/404.html"' %}
|
|
{% for page in pages %}
|
|
<url>
|
|
<loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
|
|
{% if page.date}<lastmod>{{ page.date | date_to_xmlschema }}</lastmod>{%endif%}
|
|
</url>
|
|
{% endfor %}
|
|
</urlset>
|