{% macro nav_link(endpoint_group, endpoint, name) %} {% if request.endpoint.startswith(endpoint_group) %}