<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Template with control structures</title>
</head>
<body>
Use of a control structure to parse a list of values:
<ul>
    {% for item in values %}
        {% if item != 3 %} {# Do not show the item with a value of 3 #}
            <li>Item n.{{ forloop.counter }}: {{ item }}</li>
        {% endif %}
    {% endfor %}
</ul>
</body>
</html>
