Источник шаблона: website/elements/div-catalog-pagination.html

<div style="clear: both"></div> <div class="content_pagination"> <div class="content_pagination__container"> <ul> {% if catalog_items.has_previous %} <li class="bx-pag-prev"><a href="?page=1"><span>&laquo;</span></a></li> <li class="bx-pag-prev"><a href="?page={{ contacts.previous_page_number }}"><span>&lt;</span></a></li> {% endif %} {% for pg in page_range %} {% if catalog_items.number == pg %} <li class="bx-pag-all bx-active"><a><span>{{pg}}</span></a></li> {% else %} <li class="bx-pag-all"><a href="?page={{pg}}" class="btn"><span>{{pg}}</span></a></li> {% endif %} {% endfor %} {% if catalog_items.has_next %} <li class="bx-pag-next"><a href="?page={{ catalog_items.next_page_number }}"><span>&gt;</span></a></li> <li class="bx-pag-next"><a href="?page={{ catalog_items.paginator.num_pages }}"><span>&raquo;</span></a></li> {% endif %} </ul> </div> </div>