diff --git a/_includes/recipes.html b/_includes/recipes.html index 054772a..c2a1817 100644 --- a/_includes/recipes.html +++ b/_includes/recipes.html @@ -3,10 +3,11 @@

{{ recipe.name }}

- By {{ recipe.author }} - {{ recipe.method | size }} steps - + By {{ recipe.author }} - {{ 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 %}