<p class="pagination">
    Página:
    {% for n,l in pages.start %}
        <a href="{{ l }}" class="same-overlay">{{n}}</a>
    {% endfor %}
    {% if pages.separate_start %}
    .....
    {% endif %}
    {% for n,l in pages.before %}
        <a href="{{ l }}" class="same-overlay">{{n}}</a>
    {% endfor %}
    {{pages.page}}
    {% for n,l in pages.after %}
        <a href="{{ l }}" class="same-overlay">{{n}}</a>
    {% endfor %}
    {% if pages.separate_end %}
    .....
    {% endif %}
    {% for n,l in pages.end %}
        <a href="{{ l }}" class="same-overlay">{{n}}</a>
    {% endfor %}
</p>
