{% for p in page_range %}{% if p == page %}{{ p }}{% else %}{{ p }}{% endif %} {% endfor %}