yosssi / ace

HTML template engine for Go
MIT License
836 stars 89 forks source link

Multi-line action #77

Open dobesv opened 7 years ago

dobesv commented 7 years ago

I have a action that takes a fair number of parameters. It seems like in Ace I cannot split the action over multiple lines.

article
  script type="application/ld+json" {{ dict "@context" "http://schema.org" "@type" "Product" "description" .Description "name" .Title "image" "bla.jpg" | jsonify }}
  a href="{{ .Permalink }}"
  p {{ .Title }}