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