diff --git a/mhackspace/blog/sitemaps.py b/mhackspace/blog/sitemaps.py index 00c25ed..d7119b5 100644 --- a/mhackspace/blog/sitemaps.py +++ b/mhackspace/blog/sitemaps.py @@ -9,7 +9,7 @@ class PostSitemap(Sitemap): return Post.objects.filter(active=True, members_only=False) def lastmod(self, obj): - return obj.published_date + return obj.updated_date class CategorySitemap(Sitemap): changefreq = "monthly" diff --git a/mhackspace/templates/base.html b/mhackspace/templates/base.html index 11f0cf9..5eedb09 100644 --- a/mhackspace/templates/base.html +++ b/mhackspace/templates/base.html @@ -8,7 +8,7 @@