Reverse sitemap

This commit is contained in:
Bottersnike 2021-12-29 01:23:43 +00:00
parent 94cfc20784
commit db009fa4b6

View File

@ -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