{% macro pagination(report, current_url, current_page, tab = '') %} {% set separator = not current_url.endswith('?') and '&' or '' %}