1 {% if DEFAULT_PAGINATION %}
2 <div class="pagination">
3 {% if articles_page.has_previous() %}
4 {% if articles_page.previous_page_number() == 1 %}
5 {% if page_name == "index" %}
6 <a href="{{ SITEURL }}/">«</a>
8 <a href="{{ SITEURL }}/{{ page_name }}">«</a>
11 {% if page_name == "index" %}
12 <a href="{{ SITEURL }}/page/{{ articles_page.previous_page_number() }}/">«</a>
14 <a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.previous_page_number() }}/">«</a>
18 Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
19 {% if articles_page.has_next() %}
20 {% if page_name == "index" %}
21 <a href="{{ SITEURL }}/page/{{ articles_page.next_page_number() }}/">»</a>
23 <a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.next_page_number() }}/">»</a>