diff options
author | Daan Debie <debie.daan@gmail.com> | 2013-12-27 22:58:14 +0100 |
---|---|---|
committer | Daan Debie <debie.daan@gmail.com> | 2013-12-27 22:58:14 +0100 |
commit | f02333f6e1ad4da0a36d880037168e3eb0621c84 (patch) | |
tree | 87abcf89230988110cf9ddf5f49538107d0e9c4e /pelican-bootstrap3/templates/index.html | |
parent | 23701c6d825833372bff819bedfd9773dcc02160 (diff) | |
download | pelican-themes-f02333f6e1ad4da0a36d880037168e3eb0621c84.tar.gz |
Updated pelican-bootstrap3 to v1.1
Diffstat (limited to 'pelican-bootstrap3/templates/index.html')
-rw-r--r-- | pelican-bootstrap3/templates/index.html | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/pelican-bootstrap3/templates/index.html b/pelican-bootstrap3/templates/index.html index d948704..ec065e0 100644 --- a/pelican-bootstrap3/templates/index.html +++ b/pelican-bootstrap3/templates/index.html @@ -14,25 +14,5 @@ {% endfor %} {% endif %} - {% if articles_page and articles_paginator.num_pages > 1 %} - <ul class="pagination"> - {% if articles_page.has_previous() %} - {% set num = articles_page.previous_page_number() %} - <li class="prev"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">«</a> - </li> - {% else %} - <li class="prev disabled"><a href="#">«</a></li> - {% endif %} - {% for num in range( 1, 1 + articles_paginator.num_pages ) %} - <li class="{{ 'active' if num == articles_page.number else '' }}"><a - href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">{{ num }}</a></li> - {% endfor %} - {% if articles_page.has_next() %} - <li class="next"><a - href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">»</a></li> - {% else %} - <li class="next disabled"><a href="#">«</a></li> - {% endif %} - </ul> - {% endif %} + {% include 'includes/pagination.html' %} {% endblock content %}
\ No newline at end of file |