diff --git a/ozgursozluk/templates/paginate.html b/ozgursozluk/templates/paginate.html new file mode 100644 index 0000000..2687f1f --- /dev/null +++ b/ozgursozluk/templates/paginate.html @@ -0,0 +1,23 @@ +
+ {% if a %} + {% if p > 1 %} + previous + {% if p < topic.pagecount %}/{% endif %} + {% endif %} + {% if p < topic.pagecount %}next{% endif %} + {% if topic.pagecount > 1 %} + - + last page + {% endif %} + {% else %} + {% if p > 1 %} + previous + {% if p < topic.pagecount %}/{% endif %} + {% endif %} + {% if p < topic.pagecount %}next{% endif %} + {% if topic.pagecount > 1 %} + - + last page + {% endif %} + {% endif %} +