{{ if ne .Portions "" }}
Portions: {{.Portions}}
{{end}}{{ if ne .Url "" }}Original recipe: link
{{end}}{{ if ne .Notes "" }}{{.Notes}}
{{end}}{{range .Steps}}{{.Text}}
{{define "recipe"}} {{ template "head" }}
{{ if ne .Portions "" }}
Portions: {{.Portions}}
{{end}}{{ if ne .Url "" }}Original recipe: link
{{end}}{{ if ne .Notes "" }}{{.Notes}}
{{end}}{{range .Steps}}{{.Text}}