{# templates/_navigation.html #} {% for menu_item in ["home", "results"] %} {{menu_item|upper}} {% endfor %}