Возвращает массив всех частей пагинации.
{% for part in paginate.parts %}
{% if part.is_link %}
<li class="pagination-page">
<a href="{{ part.url }}"
class="pagination-node pagination-node--link"
>
{{ part.title }}
</a>
</li>
{% else %}
<li class="pagination-page">
{% if part.title == paginate['current_page'] %}
<span class="pagination-node pagination-node--block pagination-node--current">
{{ part.title }}
</span>
{% else %}
<span class="pagination-node--block">
{{ part.title }}
</span>
{% endif %}
</li>
{% endif %}
{% endfor %}