[if {pagination.total_pages}>"1"]
<div class="pagination">
  [if {pagination.has_prev}]
    <a href="{pagination.prev_url}">← Назад</a>
  [/if]
  <span class="current">Страница {pagination.current} из {pagination.total_pages}</span>
  [if {pagination.has_next}]
    <a href="{pagination.next_url}">Вперёд →</a>
  [/if]
</div>
[/if]
