Add sitemap

This commit is contained in:
Matthew Grove
2019-01-27 16:22:04 +00:00
parent 33d12b4e10
commit 54b49afc40

25
sitemap.xml Normal file
View File

@@ -0,0 +1,25 @@
---
layout: none
search: exclude
---
<?xml version="1.0" encoding="URF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in site.pages %}
<url>
<loc>{{ page.url }}</loc>
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
{% for post in site.posts %}
<url>
<loc>{{ post.url }}</loc>
<lastmod>{{ site.time | date: '%Y-%m-%d' }}</lastmod>
<changefreq>daily</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
</urlset>