From b7a2d6b3521508d6ae8bb94d281f049f59001aa1 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 22 Apr 2023 19:57:44 +0200 Subject: Improve representation of step ingredients --- data/templates/recipe.html | 6 +----- 1 file changed, 1 insertion(+), 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}}

{{.Text}}

- +

{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{$el.Amount}} {{$el.Type}}{{end}}


{{end}} -- cgit v1.2.3-70-g09d2