{% if show_first %}«{% endif %} {% if has_previous %}<{% endif %} {% for pagenum in page_numbers %} {% ifequal pagenum page %} {{pagenum}} {% else %} {{pagenum}} {% endifequal %} {% endfor %} {% if has_next %}>{% endif %} {% if show_last %}»{% endif %} {{pages}} pages