1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:20:04 +08:00
SpaceVim/docs/sitemap.xml

31 lines
1.2 KiB
XML
Raw Normal View History

2019-10-04 14:19:25 +08:00
---
layout: null
---
2019-10-04 14:13:51 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in site.categories.blog %}
<url>
2019-10-04 14:26:00 +08:00
<loc>{{ site.url }}{{ post.url }}</loc>
2019-10-04 14:13:51 +08:00
{% 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.5</priority>
</url>
{% endfor %}
{% for page in site.pages %}
2019-10-14 22:13:12 +08:00
{% if page.lang != "zh" and page.title != null %}
2019-10-04 14:26:00 +08:00
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
2019-10-04 14:13:51 +08:00
<changefreq>weekly</changefreq>
2019-10-04 14:26:00 +08:00
{% if page.sitemap != null and page.sitemap != empty %}
<lastmod>{{ page.sitemap.lastmod | date_to_xmlschema }}</lastmod>
2019-10-04 14:13:51 +08:00
<priority>{{ page.sitemap.priority }}</priority>
{% endif %}
2019-10-04 14:26:00 +08:00
</url>
2019-10-04 14:13:51 +08:00
{% endif %}
{% endfor %}
</urlset>