jinja for loop

Solutions on MaxInterview for jinja for loop by the best coders in the world

showing results for - "jinja for loop"
Hugo
13 Nov 2018
1<!-- Create an unordered list from the navigation iterable -->
2<ul id="navigation">
3    {% for item in navigation %}
4        <li><a href="{{ item.href }}">{{ item.caption }}</a></li>
5    {% endfor %}
6</ul>
similar questions
jinja2jinja2 iterate dict