Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class = "container mt-2">
- <nav aria-label="Page navigation example footer">
- <ul class="pagination">
- {% if cur_list != 1 %}
- <li class="page-item"><a class="page-link" href="#">Previous</a></li>
- {% endif %}
- <li class="page-item"><a class="page-link" href="#">{{cur_list}}</a></li>
- {% if max_page_number > cur_list%}
- <li class="page-item"><a class="page-link" href="#">{{max_page_number}}</a></li>
- {% endif %}
- </ul>
- </nav>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement