Whitespace trimming in traefik template

Traefix template has broken yaml when using lets encrypt dns challenge due to whitespace trimming. It renders like this with the domains on the wrong line:

        certResolver: dns        domains:
          - main: "mydomain.com"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information