Flex theme.
This commit is contained in:
parent
0bb44cb06f
commit
b35cde0428
30 changed files with 1437 additions and 0 deletions
20
templates/partial/pagination.html
Normal file
20
templates/partial/pagination.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% if DEFAULT_PAGINATION %}
|
||||
<div class="pagination">
|
||||
{% if articles_page.has_next() %}
|
||||
<a class="btn" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">
|
||||
<i class="fa fa-angle-left"></i> Older Posts
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if articles_page.has_previous() %}
|
||||
{% if articles_page.previous_page_number() == 1 %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}.html">
|
||||
Newer Posts <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ page_name }}{{ articles_page.previous_page_number() }}.html">
|
||||
Newer Posts <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue