{% for recipe in site.recipes -%}

{{ recipe.name }}

By {{ recipe.author }} - {{ recipe.method | size }} steps - {%- if recipe.time > 59 %} {{ recipe.time | divided_by: 60}}h {% endif -%} {% assign mins = recipe.time | modulo: 60 -%} {%- if mins > 0 %}{{ mins }}m{% endif %}

    {% for step in recipe.method | limit: 4 %}
  1. {{ step }}
  2. {% endfor %}
{% endfor %}