Commits

st4lk  committed 444edeb

add feed template references

  • Participants
  • Parent commits 170fd0e

Comments (0)

Files changed (1)

File articles/feeds.py

         return self._site
 
 class LatestEntries(Feed, SiteMixin):
+    title_template = 'feeds/latest_title.html'
+    description_template = 'feeds/latest_description.html'
 
     def title(self):
         return "%s Articles" % (self.site.name,)
         return item.publish_date
 
 class TagFeed(Feed, SiteMixin):
-
+    title_template = 'feeds/tags_title.html'
+    description_template = 'feeds/tags_description.html'
+    
     def get_object(self, request, slug):
         try:
             return Tag.objects.get(slug__iexact=slug)