diff options
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r-- | view/html/recipe.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html index fea32a5..3d9ab63 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -17,6 +17,7 @@ <p class="notice" style="white-space: pre-line;">{{.Notes}}</p>{{end}}{{range .Steps}} <section> <p>{{.Text}}</p> + <p><i>{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{if ne $el.Amount ""}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}}{{end}}</i></p> </section>{{end}} </main> {{ template "footer" }} |