{# Requires variables `current_page` and `paginator` to be defined. #} {% if current_page.has_other_pages() %} {% endif %}