recipe_index_page.html 622 B

123456789101112131415161718
  1. {% extends "base.html" %}
  2. {% load wagtailcore_tags navigation_tags wagtailimages_tags %}
  3. {% block content %}
  4. <div class="container">
  5. <div class="blog-list">
  6. {% if recipes %}
  7. {% for recipe in recipes %}
  8. {% include "includes/card/blog-listing-card.html" with blog=recipe %}
  9. {% endfor %}
  10. {% else %}
  11. <div class="col-md-12">
  12. <p>Oh, snap. Looks like we were too busy baking to write any recipes. Sorry.</p>
  13. </div>
  14. {% endif %}
  15. </div>
  16. </div>
  17. {% endblock content %}