Simplify context pass
This commit is contained in:
parent
07c66bb19a
commit
32952970dc
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
Reference in a new issue