20 рядки
716B

  1. {% if DEFAULT_PAGINATION %}
  2. <div class="pagination-centered">
  3. <h6 class="subheader">Page {{ articles_page.number }} of {{ articles_paginator.num_pages }}</h6>
  4. <p>
  5. {% if articles_page.has_previous() %}
  6. {% if articles_page.previous_page_number() == 1 %}
  7. <a href="{{ SITEURL }}/{{ page_name }}.html">&laquo; Prev</a>
  8. {% else %}
  9. <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">&laquo; Prev</a>
  10. {% endif %}
  11. {% endif %}
  12. {% if articles_page.has_next() %}
  13. <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next &raquo;</a>
  14. {% endif %}
  15. </p>
  16. </div>
  17. {% endif %}