diff --git a/truewiki/views/sitemap.py b/truewiki/views/sitemap.py index b987fc0..9ad0317 100644 --- a/truewiki/views/sitemap.py +++ b/truewiki/views/sitemap.py @@ -34,8 +34,6 @@ def view() -> web.Response: for page, page_data in metadata.PAGES.items(): if page.startswith("Page/"): page = page[len("Page/") :] - if page.endswith("/Main Page"): - page = page[: -len("/Main Page")] + "/" page = urllib.parse.quote(page) body += "\n"