2
0

breads_index_page.html 759 B

1234567891011121314151617181920212223242526
  1. {% extends "base.html" %}
  2. {% load wagtailcore_tags navigation_tags wagtailimages_tags %}
  3. {% block content %}
  4. {% include "base/include/header-index.html" %}
  5. <div class="container">
  6. <ul class="bread-list">
  7. {% for bread in breads %}
  8. <li>
  9. {% include "includes/card/listing-card.html" with page=bread %}
  10. </li>
  11. {% endfor %}
  12. </ul>
  13. </div>
  14. {% if breads.paginator.count > 12 %}
  15. <div class="container">
  16. <div class="row">
  17. <div class="col-sm-12">
  18. {% include "includes/pagination.html" with subpages=breads %}
  19. </div>
  20. </div>
  21. </div>
  22. {% endif %}
  23. {% endblock content %}