{% set item = [['mateladen', 'shop'], ['zubereitung', 'preparation'], ['wissen', 'knowledge'], ['blog', 'blog'], ['kontakt', 'contact']] %} {% macro active(activePage='') %} {% for a, b in item -%} {%if activePage == a %}{{ a }}{%else%}{{ a }}{% endif %} {% endfor -%} {%- endmacro %} {% macro top() %}