{% extends "base.html" %} {% from "macros.html" import figure, ingredient, picture %} {% block head %} {% endblock %} {% block body %}

{{ recipe.title }}

{%- for item in recipe.properties %}
{{ item.name }}
{{ item.value|display }}
{% endfor -%}
{%- for tag in recipe.tags %}{{ tag }}{% endfor -%}

{{ t.ingredients }}

{{ recipe.portions or "" }}×
    {%- for item in recipe.ingredient_list %}{{ ingredient(item, "li") }}{% endfor -%}
{% if recipe.main_image %}
{{ picture(recipe, recipe.main_image, recipe.title, root=root, lazy=False) }}
{% endif %}
{{ content }}
{% if diagram %}

{{ t.summary }}

{{ diagram }}
{% endif %}
{% endblock %}