diff options
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 |