ACE3/docs/sitemap.xml

35 lines
1.0 KiB
XML
Raw Permalink Normal View History

---
layout: null
title: Sitemap
sitemap:
exclude: "yes"
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.productionUrl }}/</loc>
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
{% assign pages_by_group = site.pages | sort: "group" %}
{% for curPage in pages_by_group %}
{% unless curPage.sitemap.exclude == "yes" %}
<url>
<loc>{{ site.productionUrl}}{{ curPage.url }}</loc>
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
</url>
{% endunless %}
{% endfor %}
{% for post in site.posts %}
<url>
<loc>{{site.productionUrl}}{{ post.url }}</loc>
<lastmod>{{post.date | date: "%Y-%m-%d"}}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
</urlset>