{% for key, value in directives.items() -%}
%{{ key }}={{ value }}{{ "\n" if not loop.last else "" }}
{%- endfor %}