{% if DEFAULT_PAGINATION %} {% set first_page = articles_paginator.page(1) %} {% set last_page = articles_paginator.page(articles_paginator.num_pages) %}

{% if articles_page.has_previous() %} « {% else %} « {% endif %} {% for page in range(1, articles_paginator.num_pages + 1) %} {{ page }} {% endfor %} {% if articles_page.has_next() %} » {% else %} » {% endif %}

{% endif %}