{% if has_previous %}« {% trans "Previous" %}{% else %}« {% trans "Previous" %}{% endif %}
{% if not in_leading_range %}
{% for num in pages_outside_trailing_range %}
{{ num }}
{% endfor %}
...
{% endif %}
{% for num in page_numbers %}
{% ifequal num page %}
{{ num }}
{% else %}
{{ num }}
{% endifequal %}
{% endfor %}
{% if not in_trailing_range %}
...
{% for num in pages_outside_leading_range reversed %}
{{ num }}
{% endfor %}
{% endif %}
{% if has_next %}{% trans "Next" %} »{% else %}{% trans "Next" %} »{% endif %}