{% for recipe in site.recipes | limit: 15 -%}

{{ recipe.name }}

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

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