123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {% extends "base.html" %}
- {% load wagtailimages_tags %}
- {% block content %}
- {% image page.image fill-1920x600 as hero_img %}
- {% include "base/include/header-hero.html" %}
- <div class="container bread-detail">
- <div class="row">
- <div class="col-md-12">
- <div class="col-md-7">
- <div class="row">
- {% if page.introduction %}
- <p class="bread-detail__introduction">
- {{ page.introduction }}
- </p>
- {% endif %}
- <div class="hidden-md-down">
- {{ page.body }}
- </div>
- </div>
- </div>
- <div class="col-md-4 col-md-offset-1">
- <div class="row">
- <div class="bread-detail__meta">
- {% if page.origin %}
- <p class="bread-detail__meta-title">Origin</p>
- <p class="bread-detail__meta-content">{{ page.origin }}</p>
- {% endif %}
- {% if page.bread_type %}
- <p class="bread-detail__meta-title">Type</p>
- <p class="bread-detail__meta-content">{{ page.bread_type }}</p>
- {% endif %}
- {% with ingredients=page.ingredients.all %}
- {% if ingredients %}
- <h4>Ingredients</h4>
- <ul>
- {% for ingredient in ingredients %}
- <li>
- {{ ingredient.name }}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- {% endwith %}
- </div>
- </div>
- </div>
- <div class="col-md-7">
- <div class="row hidden-md-up">
- {{ page.body }}
- </div>
- </div>
- </div>
- </div>
- </div>
- {% endblock content %}
|