For {{.Recipe.Portions}} portions you will need these ingredients:
-
{{range .Recipe.Steps}}{{range $i, $el := .Ingredients}}
- {{if ne $el.Amount 0.0}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}} {{end}}{{end}}
Use this link to go to the original recipe.
{{end}} {{range .Recipe.Steps}}{{.Text}}
{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{if ne $el.Amount 0.0}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}}{{end}}