diff --git a/gergelypolonkaiweb/templates/paginator.html b/gergelypolonkaiweb/templates/paginator.html index 16734d2..14d689b 100644 --- a/gergelypolonkaiweb/templates/paginator.html +++ b/gergelypolonkaiweb/templates/paginator.html @@ -1,19 +1,19 @@ {% if list.paginator.num_pages > 1 %}
{% if list.number > 1 %} - First + First {% endif %} {% if list.has_previous and list.number != 2 %} - Previous + Previous {% endif %} {% for i in posts.paginator.page_range %} - {% if list.number != i %}{% endif %}{{ i }}{% if list.number != i %}{% endif %} + {% if list.number != i %}{% endif %}{{ i }}{% if list.number != i %}{% endif %} {% endfor %} {% if list.has_next and list.number != list.paginator.num_pages|add:-1 %} - Next + Next {% endif %} {% if list.number < list.paginator.num_pages %} - Last + Last {% endif %}
{% endif %}