recipe_page.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% extends "base.html" %}
  2. {% block content %}
  3. {% include "base/include/header-blog.html" %}
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-md-8">
  7. <div class="blog__meta">
  8. {% if page.authors() %}
  9. <div class="blog__avatars">
  10. {% for author in page.authors() %}
  11. <div class="blog__author">{{ image(author.image, "fill-50x50-c100", class="blog__avatar") }}
  12. {{ author.first_name }} {{ author.last_name }}</div>
  13. {% endfor %}
  14. </div>
  15. {% endif %}
  16. </div>
  17. {% if page.backstory %}
  18. {{ page.backstory }}
  19. <hr>
  20. {% endif %}
  21. {# Give a label to the recipe section for screen reader users. #}
  22. <div id="recipe-headline" class="sr-only">
  23. Recipe{% if page.recipe_headline %}: {{ page.recipe_headline|richtext }}{% endif %}
  24. </div>
  25. <section aria-labelledby="recipe-headline">
  26. {{ page.body }}
  27. </section>
  28. </div>
  29. </div>
  30. </div>
  31. {% endblock content %}