{{ if ne .Notes "" }}
{{.Notes}}
{{end}}{{ if ne .Portions "" }}Portions: {{.Portions}}
{{end}}{{ if ne .Url "" }}Original recipe: link
{{end}}Ingredients:
-
{{range .Steps}}{{range $i, $el := .Ingredients}}
- {{if ne $el.Amount ""}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}} {{end}}{{end}}
{{.Text}}
{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{if ne $el.Amount ""}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}}{{end}}