{% if paginator.previous_page %} {% include prev_page.html %} {% endif %} {% if paginator.next_page %} {% include next_page.html %} {% endif %}
    {% for page in (1..paginator.total_pages) %}
  • {% include page.html %}
  • {% endfor %}