forked from phoedos/pmd
910d3178db
- Don't publish the doc anymore to pmd.github.io - the docs are now hosted at docs.pmd-code.org - Update sitemap.xml - no extra sitemap generation anymore
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
---
|
|
layout: none
|
|
search: exclude
|
|
# https://www.sitemaps.org/protocol.html
|
|
# Priority is relative to the website, can be chosen in {0.1, 0.2, ..., 1}
|
|
# Default priority is 0.5
|
|
latestPriority: 0.8
|
|
---
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
<url>
|
|
<loc>{{site.url}}/index.html</loc>
|
|
<priority>0.9</priority>
|
|
<changefreq>monthly</changefreq>
|
|
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
|
|
</url>
|
|
|
|
|
|
{% for post in site.posts %}
|
|
{% unless post.search == "exclude" %}
|
|
<url>
|
|
<loc>{{site.url}}{{post.url}}</loc>
|
|
<priority>{{page.latestPriority}}</priority>
|
|
<changefreq>monthly</changefreq>
|
|
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
|
|
</url>
|
|
{% endunless %}
|
|
{% endfor %}
|
|
|
|
|
|
{% for p in site.pages %}
|
|
{% unless p.search == "exclude" %}
|
|
<url>
|
|
<loc>{{site.url}}{{ p.url}}</loc>
|
|
<priority>{{page.latestPriority}}</priority>
|
|
<changefreq>monthly</changefreq>
|
|
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
|
|
</url>
|
|
{% endunless %}
|
|
{% endfor %}
|
|
</urlset>
|