This could have something to do with that (I’m speculating only): Page variables | Hugo
Page-level
.Params
are only accessible in lowercase.
You could reorganise your ingredients like
ingredients:
- ingredient: Club Soda
amount: 4oz
- ingredient: Gin
amount: 2oz
- ingredient: Lemon Juice
amount: 1oz
- ingredient: Simple Syrup
amount: 1tsp
and
{{ range .Params.ingredients }}
{{ .ingredient }} {{ .amount }}
{{ end }}
should keep the original casing