added optional hashtag param to {% paginate %}
[django-pagination.git] / pagination / templates / pagination / pagination.html
index 37cef40..d5a94b8 100644 (file)
@@ -11,7 +11,7 @@
             {% ifequal page page_obj.number %}
                 <span class="current page">{{ page }}</span>
             {% else %}
-                <a href="?page={{ page }}{{ getvars }}" class="page">{{ page }}</a>
+                <a href="?page={{ page }}{{ getvars }}{{ hashtag }}" class="page">{{ page }}</a>
             {% endifequal %}
         {% else %}
             ...