mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-11-24 06:50:11 +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:
|
else:
|
||||||
mod_time = None
|
mod_time = None
|
||||||
links.append((host_base + url, mod_time))
|
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"
|
response.headers["Content-Type"] = "application/xml"
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user