{% import "fragments/_icon_fragment.html" as icons %} {% macro category_link(endpoint, label, icon_html=none, arguments={}) %}
{% if icon_html %} {{ icon_html | safe }} {% endif %} {{ label }}
{% endmacro %} {% macro navigation_link(endpoint, label, icon_html=none, arguments={}, active=false) %} {% if not active %} {% set active = request.endpoint == 'main.' + endpoint %} {% endif %} {% endmacro %} {% macro entry_link(endpoint, id) %} {{ icons.render_icon('link', 12) }} {% endmacro %}