[Backport] Add discover url to the sitemap

remotes/origin/issue/4795/notification_even_they_are_disabled
David Barragán Merino 2016-02-01 11:22:07 +01:00
parent 50924e4410
commit 630a3e88aa
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class GenericSitemap(Sitemap):
def items(self):
return [
{"url_key": "home", "changefreq": "monthly", "priority": 1},
{"url_key": "discover", "changefreq": "daily", "priority": 1},
{"url_key": "login", "changefreq": "monthly", "priority": 1},
{"url_key": "register", "changefreq": "monthly", "priority": 1},
{"url_key": "forgot-password", "changefreq": "monthly", "priority": 1}

View File

@ -18,6 +18,7 @@
urls = {
"home": "/",
"discover": "/discover",
"login": "/login",
"register": "/register",
"forgot-password": "/forgot-password",