What is the difference between {{ and {{-

I’ve noticed in themes that sometimes the {{- … -}} dash is added to the curly braces. What purpose do they serve? Are the dashes important to be added?

The dashes remove whitespace in Go templates. See: