2020-08-18 16:29:28 +00:00
|
|
|
{% include 'recipe-header.html' %}
|
2020-06-28 16:22:45 +00:00
|
|
|
|
2020-08-06 23:15:55 +00:00
|
|
|
<div class="recipe-image">
|
|
|
|
<img src="{{recipe['image']}}" alt="An image of {{recipe['name']}}" />
|
2020-04-16 16:42:35 +00:00
|
|
|
</div>
|
|
|
|
<h1>{{recipe['name']}}</h1>
|
2020-08-06 23:15:55 +00:00
|
|
|
{% if recipe['description'] %}
|
|
|
|
<p>
|
|
|
|
<i>{{recipe['description']}}</i>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2020-04-16 16:42:35 +00:00
|
|
|
|
|
|
|
<h2>Ingredients</h2>
|
|
|
|
|
2020-08-06 23:15:55 +00:00
|
|
|
<ul class="ingredients-list">
|
2020-04-16 16:42:35 +00:00
|
|
|
{% for i in recipe['ingredients'] %}
|
|
|
|
<li>{{i}}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h2>Directions</h2>
|
|
|
|
|
2020-06-26 11:12:14 +00:00
|
|
|
<ol style="margin:0.125in; padding:0; overflow: visible; display: block">
|
2020-04-16 16:42:35 +00:00
|
|
|
{% for i in recipe['instructions'] %}
|
2020-06-26 11:12:14 +00:00
|
|
|
<li>{{i}}<br></li>
|
2020-04-16 16:42:35 +00:00
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
|
2021-09-07 17:11:48 +00:00
|
|
|
{% if recipe['instruction_groups'] %}
|
2021-09-05 14:36:21 +00:00
|
|
|
{% for group, instructions in recipe['instruction_groups'].items() %}
|
|
|
|
<h3>{{group}}</h3>
|
|
|
|
<ol style="margin:0.125in; padding:0; overflow: visible; display: block">
|
|
|
|
{% for i in instructions %}
|
|
|
|
<li>{{i}}<br></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
|
|
|
{% endfor %}
|
2021-09-07 17:11:48 +00:00
|
|
|
{% endif %}
|
2021-09-05 14:36:21 +00:00
|
|
|
|
2020-04-17 23:00:11 +00:00
|
|
|
<a href="{{recipe['url']}}">{{recipe['url']}}</a>
|
2020-04-16 16:42:35 +00:00
|
|
|
|
2020-08-06 23:15:55 +00:00
|
|
|
{% include 'footer.html' %}
|