datamad2017/sitemap.xml

25 lines
720 B
XML
Raw Normal View History

2014-08-25 12:52:17 +02:00
---
title : "Sitemap"
sitemap_exclude: y
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
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">
{% for page in site.pages %}
{% if page.sitemap_exclude != 'y' %}
<url>
<loc>{{ page.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endif %}
{% endfor %}
{% for post in site.posts %}
<url>
<loc>{{ post.url | prepend: site.baseurl | prepend: site.url }}</loc>
</url>
{% endfor %}
</urlset>