summaryrefslogtreecommitdiffstats
path: root/blog/_includes/pagination.html
blob: 061b03f96919d929df7bd41b0f235ba4adb615a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<!-- Pagination links -->
<section class="pagination">
  <span class="page_number ">{% t home.page_no %} {{ paginator.page }} / {{ paginator.total_pages }}</span>
  {% if paginator.previous_page %}
    <a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="previous">{% t home.prev_page %}</a>
  {% endif %}
  {% if paginator.next_page %}
    <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="next">{% t home.next_page %}</a>
  {% endif %}
</section>