{% for link in pager.links %} {% if link.is_current %} {{link.label}} {% elif link.is_choose %} {% else %} {{link.label}} {% endif %} {% endfor %}