{# Recipe Layout Template #} {% extends "_layout" %} {% block main %}

{{ entry.title }}

{{ entry.style }}

{{ entry.recipeTagline }} Originally brewed: {{ entry.originalBrewDate | date('F Y') }}

Brew Snapshot

{% for block in entry.recipeContents %} {% switch block.type %} {% case 'recipeImage' %} {% set image = block.image.first() %}
{{ image.title }} {% if block.imageCaption %}

{{ block.imageCaption }}

{% endif %}
{% case 'recipeCopy' %} {{ block.bodyContent }} {% case 'recipeIngredients' %} {% for row in block.ingredients %} {% endfor %}
Amount Ingredient
{{ row.amount }} {{ row.ingredient }}
{% case 'recipeSteps' %}

{{ block.stepsTitle }}

    {% for step in block.stepsSteps %}
  1. {{ step.stepInstructions }}
  2. {% endfor %}
{% case 'recipeTip' %}

{{ block.tipContent }}

{% endswitch %} {% endfor %} {% endblock %}