{% if header %}
{% autoescape false %} {{ header }} {% endautoescape %}
{% endif %}
{% for page in pages %}
{{ page.number }}
{% endfor %}