на главную {% for link, text in ( ('sql', 'sql пипка'), ('found', 'forensic'), ('decode', 'encode and decode'), ) %} {% if request.path != url_for(link) %} {{ text }} {% endif %} {% endfor %} {# #} {# #}