From ce704ef6bacd61551748ebb8a587241e04cfce31 Mon Sep 17 00:00:00 2001 From: hitsumabushi Date: Mon, 11 Oct 2021 22:26:14 +0900 Subject: [PATCH] add sitemap --- templates/sitemap.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 templates/sitemap.html diff --git a/templates/sitemap.html b/templates/sitemap.html new file mode 100644 index 0000000..e844e0b --- /dev/null +++ b/templates/sitemap.html @@ -0,0 +1,32 @@ + + + +{% for article in articles %} + + {{ SITEURL }}/{{ article.url }} + 0.8 + + + {% for translation in article.translations %} + + {{ SITEURL }}/{{ translation.url }} + 0.8 + + {% endfor %} +{% endfor %} + +{% for page in pages %} + + {{ SITEURL }}/{{ page.url }} + 1.0 + + + {% for translation in page.translations %} + + {{ SITEURL }}/{{ translation.url }} + 1.0 + + {% endfor %} +{% endfor %} + +