From 8714b20b749e59c274ba735e156b4a53582b9588 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 8 Apr 2016 23:12:15 +0100 Subject: [PATCH] Add header image to blogs --- project/blog/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/project/blog/views.py b/project/blog/views.py index 565b07b..cb2662b 100644 --- a/project/blog/views.py +++ b/project/blog/views.py @@ -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):