{% if pages.next %} {% include "patterns/basics/pagination/sp-pagination-pageof.html" %} {% if section %} {% elif search_query %} {% elif 'tag' in request.path %} {% else %} {% endif %} {{text}} {% endif %}