From 75d7bb2acc90eb1c6daec66dc7b73573c643ce57 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 16 Apr 2015 10:40:36 +0200 Subject: Generate sitemap programatically --- src/sitemap.xml | 15 --------------- src/templates/sitemap.xml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 src/sitemap.xml create mode 100644 src/templates/sitemap.xml (limited to 'src') diff --git a/src/sitemap.xml b/src/sitemap.xml deleted file mode 100644 index e35ec27..0000000 --- a/src/sitemap.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - https://theos.kyriasis.com/~kyrias/index.html - - - https://theos.kyriasis.com/~kyrias/about.html - - - https://theos.kyriasis.com/~kyrias/journal.html - - - https://theos.kyriasis.com/~kyrias/pgp-key.txt - - 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 @@ + + + + https://theos.kyriasis.com/~kyrias/index.html + + + https://theos.kyriasis.com/~kyrias/about.html + + + https://theos.kyriasis.com/~kyrias/journal.html + + + https://theos.kyriasis.com/~kyrias/pgp-key.txt + +{% for entry in entries %} + + https://theos.kyriasis.com/~kyrias/journal/{{ entry.page }} + +{% endfor %} + -- cgit v1.2.3-70-g09d2