{# Shared Prev/Next + page-size pager. ``url`` is a caller-supplied macro taking ``(page, page_size)`` and returning the href for that combination — every page builds its query string differently (filters, sort, tab), but the control itself is the same everywhere. Callers that have no size choice pass ``page_sizes=[]``. #} {% macro pager(url, page, total_pages, page_size, page_sizes) %} {% endmacro %}