mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-14 10:27:36 +01:00
Reverse sitemap
This commit is contained in:
parent
94cfc20784
commit
db009fa4b6
2
docs.py
2
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user