summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-16 10:40:36 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-16 10:40:36 +0200
commit75d7bb2acc90eb1c6daec66dc7b73573c643ce57 (patch)
treed8ceac2c957d922065738a70d2b4d7c3e9df65b4 /src/templates
parent16636a29eb55dc5d958feacd2bb7a99cdc1bb884 (diff)
downloadwebsite-75d7bb2acc90eb1c6daec66dc7b73573c643ce57.tar.xz
Generate sitemap programatically
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/sitemap.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/templates/sitemap.xml b/src/templates/sitemap.xml
new file mode 100644
index 0000000..d3943e4
--- /dev/null
+++ b/src/templates/sitemap.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://theos.kyriasis.com/~kyrias/index.html</loc>
+ </url>
+ <url>
+ <loc>https://theos.kyriasis.com/~kyrias/about.html</loc>
+ </url>
+ <url>
+ <loc>https://theos.kyriasis.com/~kyrias/journal.html</loc>
+ </url>
+ <url>
+ <loc>https://theos.kyriasis.com/~kyrias/pgp-key.txt</loc>
+ </url>
+{% for entry in entries %}
+ <url>
+ <loc>https://theos.kyriasis.com/~kyrias/journal/{{ entry.page }}</loc>
+ </url>
+{% endfor %}
+</urlset>