1
Fork 0

Simplify context pass

This commit is contained in:
Jake Howard 2018-07-27 09:11:28 +01:00
parent 07c66bb19a
commit 32952970dc
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{{ page.title }} ::
{% if page.get_parent and page.get_parent.url and page.get_parent.id != homepage.id %}
{% include "common/title-item.html" with page=page.get_parent current=current %}
{% include "common/title-item.html" with page=page.get_parent %}
{% endif %}