{% macro render_pagination(pagination, endpoint, params={}) %} {% set per_page = pagination.per_page %} {% endmacro %}