3 <nav aria-label="{% trans 'Pagination' %}" class="mt-4">
4 <ul class="pagination justify-content-center">
5 {% if page_obj.has_previous %}
7 <a href="?page={{ page_obj.previous_page_number }}{{ getvars }}{{ hashtag }}" class="page-link">
12 <li class="page-item disabled">
13 <span class="page-link">
14 {% trans "previous" %}
19 {% for page in pages %}
21 {% if page == page_obj.number %}
22 <li class="page-item active">
23 <span class="page-link">
28 <li class="page-item">
29 <a href="?page={{ page }}{{ getvars }}{{ hashtag }}" class="page-link">
37 {% if page_obj.has_next %}
38 <li class="page-item">
39 <a href="?page={{ page_obj.next_page_number }}{{ getvars }}{{ hashtag }}" class="page-link">
44 <li class="page-item disabled">
45 <span class="page-link">