diff options
-rw-r--r-- | data/templates/recipe.html | 6 |
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}} |