        <li class="page-item"><a class="page-link disabled" aria-label="Previous" href="#"><i
                                class="bi bi-arrow-left"></i></a></li>
                    {% endif %}
                    {% for p in range(1, total_pages + 1) %}
                    {% if p == page %}
                    <li class="page-item"><a class="page-link disabled" href="#">{{ p }}</a></li>
                    {% else %}
                    <li class="page-item"><a class="page-link"
                       