Convert more recipes to the new format

This commit is contained in:
Andrew Miner
2017-10-09 08:18:51 -07:00
parent 7f8ead1bd0
commit 4a16afc51f
104 changed files with 406 additions and 558 deletions
+8 -6
View File
@@ -17,8 +17,9 @@ html
.icons
each icon in icons
.icon(class=icon)
.icon.serving
| × #{servings}
if servings
.icon.serving
| × #{servings}
.description #{description}
@@ -29,10 +30,11 @@ html
h3 #{stepNumber}
.ingredients
ul
each ingredient in step.ingredients
li
.amount #{asFraction(ingredient.amount)} #{ingredient.unit}
.item #{ingredient.item}
if step.ingredients
each ingredient in step.ingredients
li
.amount #{asFraction(ingredient.amount)} #{ingredient.unit}
.item #{ingredient.item}
.detail #{step.directions}
- stepNumber++