Fix tests
This commit is contained in:
parent
93c3805ba6
commit
d32e19c4ac
1 changed files with 2 additions and 1 deletions
|
@ -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']
|
||||
if 'featured_image' in self.blog_data:
|
||||
context['header_image'] = self.blog_data['featured_image']
|
||||
return context
|
||||
|
||||
|
|
Reference in a new issue