Newer
Older
pre-www / src / blocks / pagination.twig
<nav aria-label="pagination" class="pagination"> 
    <ul>
        <li><a href="#">Pagina precedente</a></li>
        <li class="is-active"><a href="#" aria-label="pagina 1" aria-current="page">1</a></li>
        {% for i in range(2,5) %}
            <li><a href="#">{{i}}</a></li>
        {% endfor %}
        <li><span>&#8230;</span></li>
        <li><a href="#">67</a></li>
        <li><a href="#">Pagina successiva</a></li>
    </ul>
</nav>