From 630a3e88aa424df22e4c057c634e057d6d8d2476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Mon, 1 Feb 2016 11:22:07 +0100 Subject: [PATCH] [Backport] Add discover url to the sitemap --- taiga/front/sitemaps/generics.py | 1 + taiga/front/urls.py | 1 + 2 files changed, 2 insertions(+) diff --git a/taiga/front/sitemaps/generics.py b/taiga/front/sitemaps/generics.py index f4113189..241316e1 100644 --- a/taiga/front/sitemaps/generics.py +++ b/taiga/front/sitemaps/generics.py @@ -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} diff --git a/taiga/front/urls.py b/taiga/front/urls.py index f39efa30..76709327 100644 --- a/taiga/front/urls.py +++ b/taiga/front/urls.py @@ -18,6 +18,7 @@ urls = { "home": "/", + "discover": "/discover", "login": "/login", "register": "/register", "forgot-password": "/forgot-password",