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