diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-16 10:40:36 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-16 10:40:36 +0200 |
commit | 75d7bb2acc90eb1c6daec66dc7b73573c643ce57 (patch) | |
tree | d8ceac2c957d922065738a70d2b4d7c3e9df65b4 /src/templates | |
parent | 16636a29eb55dc5d958feacd2bb7a99cdc1bb884 (diff) | |
download | website-75d7bb2acc90eb1c6daec66dc7b73573c643ce57.tar.xz |
Generate sitemap programatically
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/sitemap.xml | 20 |
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> |