From 24a5d967755074f34ac69ec8447196f01d964f55 Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Sun, 20 Mar 2016 17:16:45 +0000 Subject: [PATCH] get actual details for projects --- project/pages/views/projects.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/pages/views/projects.py b/project/pages/views/projects.py index 2fc8762..081bb9b 100644 --- a/project/pages/views/projects.py +++ b/project/pages/views/projects.py @@ -21,9 +21,9 @@ class ProjectView(MarkdownView): context = super().get_context_data(**kwargs) try: details = PROJECT_DETAILS[kwargs['project']] - context['html_title'] = details.title - context['page_title'] = details.title - context['header_image'] = details.image + context['html_title'] = details['title'] + context['page_title'] = details['title'] + context['header_image'] = details['image'] except: context['html_title'] = kwargs['project'] context['page_title'] = kwargs['project']