1
0
Fork 0
This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
pelican-alchemy/alchemy/templates/pagination.html
Raymond Wanyoike b12b50104e Initial templates
2013-11-24 20:53:19 +03:00

11 lines
618 B
HTML

{% if DEFAULT_PAGINATION %}
<ul class="pagination">
<li{% if not articles_page.has_previous() %} class="disabled"{% endif %}>
<a {% if articles_page.has_previous() %}href="{{ SITEURL }}/{{ articles_previous_page.url }}"{% else %}href="#"{% endif %}>&laquo;</a>
</li>
<li><a href="#">Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}</a></li>
<li{% if not articles_page.has_next() %} class="disabled"{% endif %}>
<a {% if articles_page.has_next() %}href="{{ SITEURL }}/{{ articles_next_page.url }}"{% else %}href="#"{% endif %}>&raquo;</a>
</li>
</ul>
{% endif %}