check in guide to my February 2017 Facebook meltdown in notes/
[Ultimately_Untrue_Thought.git] / theme / templates / pagination.inc.html
1 {% if DEFAULT_PAGINATION %}
2 <div class="pagination">
3     {% if articles_page.has_previous() %}
4         {% if articles_page.previous_page_number() == 1 %}
5             <a href="{{ SITEURL }}/{{ page_name }}">&laquo;</a>
6         {% else %}
7             <a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.previous_page_number() }}/">&laquo;</a>
8         {% endif %}
9     {% endif %}
10     Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
11     {% if articles_page.has_next() %}
12         <a href="{{ SITEURL }}/{{ page_name }}page/{{ articles_page.next_page_number() }}/">&raquo;</a>
13     {% endif %}
14 </div>
15 {% endif %}