{% macro pagination(request, page) %} {% with start_index = page.start_index, end_index = page.end_index, total_rows = page.total_rows %} {% endwith %} {% endmacro %}