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

View file

@ -1,5 +1,5 @@
{{ page.title }} :: {{ page.title }} ::
{% if page.get_parent and page.get_parent.url and page.get_parent.id != homepage.id %} {% 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 %} {% endif %}