{% macro render_breadcrumb_item(endpoint, text) %} {% set active = True if request.endpoint and request.endpoint == endpoint else False %}