From db009fa4b666501ad9b4a1ed60eda77102ecd34f Mon Sep 17 00:00:00 2001 From: Bottersnike Date: Wed, 29 Dec 2021 01:23:43 +0000 Subject: [PATCH] Reverse sitemap --- docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs.py b/docs.py index 67f8728..f8ea086 100644 --- a/docs.py +++ b/docs.py @@ -126,7 +126,7 @@ def sitemap(): else: mod_time = None links.append((host_base + url, mod_time)) - response = make_response(render_template("sitemap.xml", urls=links)) + response = make_response(render_template("sitemap.xml", urls=links[::-1])) response.headers["Content-Type"] = "application/xml" return response