{% load i18n %}
{% if first_pages %}
[
{% trans "Go to the page:" %}
{% for page in first_pages %}
{{ page }}{% if not forloop.last %}, {% elif forloop.last and last_page %}, {% endif %}
{% endfor %}
{% if last_page %}
, {{ last_page }}
{% endif %}
]
{% endif %}