Changed use of iteritems to items in data bag docs

This commit is contained in:
Andreas Runfalk 2019-04-02 22:24:08 +02:00
parent 4ee152fef0
commit a640c1954a
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ And the template could access it like this:
```html+jinja
<ul class="nav">
{% for path, label in bag('main-nav').iteritems() %}
{% for path, label in bag('main-nav').items() %}
<li{% if this.is_child_of(path) %} class="active"{% endif
%}><a href="{{ path|url }}">{{ label }}</a>
</li>