• «
  • {% for page_num, url in pages %} {% if page_num == current %}
  • {{ page_num }}(current)
  • {% elif page_num %}
  • {{ page_num }}
  • {% else %}
  • …
  • {% endif %} {% endfor %}
  • »