summaryrefslogtreecommitdiffstats
path: root/src
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
parent16636a29eb55dc5d958feacd2bb7a99cdc1bb884 (diff)
downloadwebsite-75d7bb2acc90eb1c6daec66dc7b73573c643ce57.tar.xz
Generate sitemap programatically
Diffstat (limited to 'src')
-rw-r--r--src/templates/sitemap.xml (renamed from src/sitemap.xml)5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sitemap.xml b/src/templates/sitemap.xml
index e35ec27..d3943e4 100644
--- a/src/sitemap.xml
+++ b/src/templates/sitemap.xml
@@ -12,4 +12,9 @@
<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>