get actual details for projects
This commit is contained in:
parent
c420e79ff0
commit
24a5d96775
1 changed files with 3 additions and 3 deletions
|
@ -21,9 +21,9 @@ class ProjectView(MarkdownView):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
try:
|
try:
|
||||||
details = PROJECT_DETAILS[kwargs['project']]
|
details = PROJECT_DETAILS[kwargs['project']]
|
||||||
context['html_title'] = details.title
|
context['html_title'] = details['title']
|
||||||
context['page_title'] = details.title
|
context['page_title'] = details['title']
|
||||||
context['header_image'] = details.image
|
context['header_image'] = details['image']
|
||||||
except:
|
except:
|
||||||
context['html_title'] = kwargs['project']
|
context['html_title'] = kwargs['project']
|
||||||
context['page_title'] = kwargs['project']
|
context['page_title'] = kwargs['project']
|
||||||
|
|
Reference in a new issue