{% if current != 1 %}
  • «
  • {% endif %} {% for index in range(1, total+1) %} {{ index }} {% endfor %} {% if current != total %}
  • »
  • {% endif %}