1
Fork 0

Add header image to blogs

This commit is contained in:
Jake Howard 2016-04-08 23:12:15 +01:00
parent 03f84426a8
commit 8714b20b74

View file

@ -11,6 +11,7 @@ class BlogView(TemplateView):
context['blog'] = self.blog_data
context['blog']['date'] = reformat_date(self.blog_data['date'])
context['html_title'] = self.blog_data['title']
context['header_image'] = self.blog_data['featured_image']
return context
def dispatch(self, request, *args, **kwargs):