X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/7b250882b48932b7fc6a68575273c3fcbfcef97f:/sommitrealweird/photo/templates/photo/photo_index.html..5f6086698809e16bfe5c6c5316d1ed687cf56dc9:/sommitrealweird/photo/templates/photo/photo_list.html diff --git a/sommitrealweird/photo/templates/photo/photo_index.html b/sommitrealweird/photo/templates/photo/photo_list.html similarity index 93% rename from sommitrealweird/photo/templates/photo/photo_index.html rename to sommitrealweird/photo/templates/photo/photo_list.html index 27e4417..5581243 100644 --- a/sommitrealweird/photo/templates/photo/photo_index.html +++ b/sommitrealweird/photo/templates/photo/photo_list.html @@ -28,8 +28,8 @@ {% else %} | {% endif %} - {% ifequal paginator_page page %} - {{ page }} + {% ifequal paginator_page page_obj.number %} + {{ paginator_page }} {% else %} {{ paginator_page }} {% endifequal %}