Python 3 compatibility
This commit is contained in:
parent
3ce12545ec
commit
be9d1464ce
|
@ -21,7 +21,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="navbar" class="collapse navbar-collapse">
|
<div id="navbar" class="collapse navbar-collapse">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
{% for id, item in bag('menu').iteritems() %}
|
{% for id, item in bag('menu').items() %}
|
||||||
<li{% if this.is_child_of(item.path) %} class="active"{% endif
|
<li{% if this.is_child_of(item.path) %} class="active"{% endif
|
||||||
%}><a href="{{ item.path|url }}">{{ item.label }}</a></li>
|
%}><a href="{{ item.path|url }}">{{ item.label }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue