empty line where conditional line exist

Evening,

Is there a way to avoid an empty line in the configuration file when template has conditional lines?

I have always ignored the empty line but logstash-forwarder use a json bases configuration and the empty line is problematic.

Regards,

William

Checkout the white space control docs on the jinja2 website:

http://jinja.pocoo.org/docs/dev/templates/#whitespace-control

Specifically for things like {%- And -%}