{% macro render_pagination(pagination, endpoint) %} {% if pagination.total %} {% endif %} {% endmacro %}