Hi,
I have a question about the use of a dash in between the curly brackets used in Hugo.
I occasionally come across them in the documentation or used in example themes, but have never found an explanation.
As far as i tested, their presence has no real effect?
Below is an example from https://gohugo.io/templates/shortcode-templates/ :
{{- $src := .Get “src” -}}
{{- with .Parent -}}
<img src="{{$src}}" class="{{.Get “class”}}-image">
{{- else -}}
{{- end }}
Is there documentation on this that i have managed to overlook?
All help is appreciated!