mirror of
https://github.com/lektor/lektor-website.git
synced 2025-02-12 11:10:37 +01:00
Python 3 compatibility
This commit is contained in:
parent
3ce12545ec
commit
be9d1464ce
@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<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
|
||||
%}><a href="{{ item.path|url }}">{{ item.label }}</a></li>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user