Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame^] | 1 | {% if DEFAULT_PAGINATION %} |
| 2 | <p class="paginator"> |
| 3 | {% if articles_page.has_previous() %} |
| 4 | {% if articles_page.previous_page_number() == 1 %} |
| 5 | <a href="{{ SITEURL }}/{{ page_name }}.html" class="button_accent">←newer</a> |
| 6 | {% else %} |
| 7 | <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html" class="button_accent">←newer</a> |
| 8 | {% endif %} |
| 9 | {% endif %} |
| 10 | {% if articles_page.has_next() %} |
| 11 | <a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html" class="button_accent" style="position: absolute; right: 0;">continue→</a> |
| 12 | {% endif %} |
| 13 | </p> |
| 14 | {% endif %} |