Merge pull request #36 from lsdlab/master

fix pagination arrow
This commit is contained in:
Gilson Filho 2016-04-04 09:46:32 -03:00
commit 45f45afd98

View File

@ -3,12 +3,12 @@
<!-- Pager -->
<ul class="pager">
<li class="next">
{% if articles_page.has_previous() %}
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newest Posts &rarr;</a>
{% endif %}
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Posts &rarr;</a>
{% endif %}
{% if articles_page.has_previous() %}
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}"> &larr; Newest Posts</a>
{% endif %}
</li>
</ul>
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}