From 6d33c7821d80cbea2cd004b510f59090d93bc8c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 25 Jun 2015 18:05:11 +0200 Subject: [PATCH] Make minor improvements over front sitemap --- taiga/front/sitemaps/generics.py | 8 ++++---- taiga/front/sitemaps/projects.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/taiga/front/sitemaps/generics.py b/taiga/front/sitemaps/generics.py index 180c6eb0..27fbc075 100644 --- a/taiga/front/sitemaps/generics.py +++ b/taiga/front/sitemaps/generics.py @@ -25,10 +25,10 @@ from .base import Sitemap class GenericSitemap(Sitemap): def items(self): return [ - {"url_key": "home", "changefreq": "monthly", "priority": 0.6}, - {"url_key": "login", "changefreq": "monthly", "priority": 0.6}, - {"url_key": "register", "changefreq": "monthly", "priority": 0.6}, - {"url_key": "forgot-password", "changefreq": "monthly", "priority": 0.6} + {"url_key": "home", "changefreq": "monthly", "priority": 1}, + {"url_key": "login", "changefreq": "monthly", "priority": 1}, + {"url_key": "register", "changefreq": "monthly", "priority": 1}, + {"url_key": "forgot-password", "changefreq": "monthly", "priority": 1} ] def location(self, obj): diff --git a/taiga/front/sitemaps/projects.py b/taiga/front/sitemaps/projects.py index bbbbfbb8..f9ad82f8 100644 --- a/taiga/front/sitemaps/projects.py +++ b/taiga/front/sitemaps/projects.py @@ -40,10 +40,10 @@ class ProjectsSitemap(Sitemap): return obj.modified_date def changefreq(self, obj): - return "daily" + return "hourly" def priority(self, obj): - return 0.6 + return 0.9 class ProjectBacklogsSitemap(Sitemap):