Added canonical url to newsfeed

This commit is contained in:
Sebastian 2016-11-16 20:36:35 +01:00
parent 4db530ebf7
commit c480b2a95f
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class NewsFeed(MenuItemMixin, TemplateMixin, FileAssetsMixin):
def get_context(self):
context = super(NewsFeed,self).get_context()
context['title'] = self.title
context['url'] = "/%s" % self.url
context['feed_url'] = "/%s" % self.feed_url
markdown_converter = markdown.Markdown(extensions = self.markdown_extensions)