mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
---
|
|
sitemap: no
|
|
---
|
|
<?xml version="1.0"?>
|
|
<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">
|
|
{% for page in site.pages %}
|
|
{% if page.layout != 'redirect' and page.sitemap == no %}
|
|
<url>
|
|
<loc>{{ site.url }}{{ page.url | remove:'index.html' }}</loc>
|
|
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
|
<changefreq>monthly</changefreq>
|
|
<priority>{% if page.priority %}{{ page.priority }}{% else %}0.9{% endif %}</priority>
|
|
</url>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% for post in site.posts %}
|
|
<url>
|
|
<loc>{{ site.url }}{{ post.url }}</loc>
|
|
{% if post.lastmod == null %}
|
|
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
|
|
{% else %}
|
|
<lastmod>{{ post.lastmod | date_to_xmlschema }}</lastmod>
|
|
{% endif %}
|
|
<changefreq>weekly</changefreq>
|
|
<priority>0.7</priority>
|
|
</url>
|
|
{% endfor %}
|
|
</urlset> |