{% extends 'layouts/base.njk' %} {% block content %} {% recipeimage image, "c-recipe__header-image", title, "100vw" %}

{{ title }}

{% for tag in tags %} {{ tag }} {% endfor %}
{% set ingredientsArray = [] %} {% for ingredient in ingredients %} {% set notes = "" %} {% if ingredient.note %} {% set notes = [" (", ingredient.note, ")"] | join %} {% endif %} {% set value = [ingredient.quantity.value.value.value, ingredient.quantity.unit, " ", ingredient.name, notes] | join %} {% set ingredientsArray = (ingredientsArray.push(value), ingredientsArray) %} {% endfor %}
{% if time or not servings == "" %}
{% if time %} {% if time.prep %}

{% include "icons/time.svg" %}Prep: {{ time.prep }}

{% endif %} {% if time.cook %}

{% include "icons/time.svg" %}Cook: {{ time.cook }}

{% endif %} {% if not time.cook and not time.prep %}

{% include "icons/time.svg" %}Total: {{ time }}

{% endif %} {% endif %} {% if duration %}

{% include "icons/time.svg" %}Total: {{ duration }}

{% endif %} {% if not servings == "" %}

{{ site.servingsLabel }}

{% endif %}
{% endif %}

{{ site.ingredientsLabel }}

Cookware

    {% for ingredient in cookware %} {% set notes = "" %} {% if ingredient.note %} {% set notes = [" (", ingredient.note, ")"] | join %} {% endif %}
  • {% endfor %}
{% for section in sections %} {% if section.title %}

{{ section.title.content }}

{% endif %}
    {% for steps in section.content %}
  1. {% for items in steps %}{% if items.type == "ingredient" %}{% if items.reference %}{{items.content}}{% else %}{{items.content}}{% endif %} ({{items.quantity.value.value.value}}{% if items.quantity.unit %} {{items.quantity.unit}}{% endif %}){% else %}{{items.content}}{% endif %}{% endfor %}
  2. {% endfor %}
{% endfor %} {% set notesArr = notes.split('|') %} {% if notesArr.length > 1 %}

Notes

{% endif %} {% if source %}

Source

{% endif %}
{% endblock %}