From 069dbff9272417c2f6c44f27572e4b8bf8972498 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 4 Mar 2020 00:16:30 +1000 Subject: [PATCH] minor homepage cleanup --- _includes/recipes.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 %}