I have an inline partial (here is a stripped example) that worked ever since but crashes with Hugo 0.154.0 now
{{- define "partials/inline/leftmost_descendant" }}
{{- $pages := .Pages }}
{{- range $pages }}
{{- with partial "inline/leftmost_descendant" . }}
{{- break }}
{{- end }}
{{- end }}
{{- return "" }}
{{- end }}
It does not crash if I introduce additional brackets:
{{- define "partials/inline/leftmost_descendant" }}
{{- $pages := .Pages }}
{{- range $pages }}
{{- with (partial "inline/leftmost_descendant" .) }}
{{- break }}
{{- end }}
{{- end }}
{{- return "" }}
{{- end }}
Is this a Hugo bug or am I supposed to add those brackets now?