{{- range . }}
{{ if isset . "catname" }}
{{ .catname | markdownify }}
{{ partial "ingredients_ul.html" .ingredients }}
{{ else }}
-
{{ with .qt }}{{ . | markdownify }}{{ end }}
{{ with .article -}}
{{ . | markdownify -}}
{{- if substr . -1 1 | eq "'" -}}{{ else }} {{ end -}}
{{/* ^^^ No space only if article ends with an apostrophe */}}
{{- end -}}
{{ .name | markdownify }}
{{ end }}
{{ end -}}