Make minor improvements over front sitemap
parent
3f91460ccb
commit
6d33c7821d
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue