diff --git a/layouts/partials/ingredients.html b/layouts/partials/ingredients.html index 0c41d26..99e6940 100644 --- a/layouts/partials/ingredients.html +++ b/layouts/partials/ingredients.html @@ -14,6 +14,11 @@ {{ range $.Param "ingredients" }}
  • {{ with .qt }}{{ . }}{{ end }} + {{ with .article -}} + {{ . -}} + {{- if substr . -1 1 | eq "'" -}}{{ else }} {{ end -}} + {{/* ^^^ No space only if article ends with an apostrophe */}} + {{- end -}} {{ .name }}
  • {{ end }}