Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Commit

Permalink
Bump up Video url priority in sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Jun 13, 2012
1 parent d97f4e4 commit ffe376d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion richard/videos/sitemaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
CategorySitemap = GenericSitemap({'queryset': Category.objects.all()})
SpeakerSitemap = GenericSitemap({'queryset': Speaker.objects.all()})
VideoSitemap = GenericSitemap({'queryset': Video.objects.live(),
'date_field': 'updated'})
'date_field': 'updated'},
priority=0.8)

# TODO add sitemap for tags once they have their own page

0 comments on commit ffe376d

Please sign in to comment.