{% for item in items %}
  • {% if item.kind == 'ellipsis' %}…{% elif item.kind == 'current' %}{{ item.number }}{% elif item.kind == 'page' %}{{ item.number }}{% elif item.kind == 'control' %}{% if item.disabled %}{{ item.label }}{% else %}{{ item.label }}{% endif %}{% endif %}
  • {% endfor %}