summaryrefslogtreecommitdiff
path: root/data/templates/recipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/recipe.html')
-rw-r--r--data/templates/recipe.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/data/templates/recipe.html b/data/templates/recipe.html
index 7bbb660..31fc7e3 100644
--- a/data/templates/recipe.html
+++ b/data/templates/recipe.html
@@ -23,11 +23,7 @@
{{range .Recipe.Steps}}
<p>{{.Text}}</p>
- <ul>
- {{range .Ingredients}}
- <li>{{.Amount}} {{.Type}}</li>
- {{end}}
- </ul>
+ <p><i>{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{$el.Amount}} {{$el.Type}}{{end}}</i></p>
<hr>
{{end}}