{% import 'apostrophe-pager:macros.html' as pager with context %} {{ pager.render({ page: data.page, total: data.totalPages }, '#') }}