2
0

recipe_index_page.html 674 B

1234567891011121314151617181920
  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. <div class="blog-list">
  7. {% if recipes %}
  8. {% for recipe in recipes %}
  9. {% include "includes/card/blog-listing-card.html" with blog=recipe %}
  10. {% endfor %}
  11. {% else %}
  12. <div class="col-md-12">
  13. <p>Oh, snap. Looks like we were too busy baking to write any recipes. Sorry.</p>
  14. </div>
  15. {% endif %}
  16. </div>
  17. </div>
  18. {% endblock content %}