mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Initial templates
This commit is contained in:
parent
e43301b65e
commit
b12b50104e
5 changed files with 131 additions and 0 deletions
11
alchemy/templates/pagination.html
Normal file
11
alchemy/templates/pagination.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% 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 %}>«</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 %}>»</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue