Add newline to blocks like location, server, httpd and etc

This commit is contained in:
Dmitry S. Fedorov 2016-06-29 17:55:54 +03:00
parent 5e4575d702
commit 36f4f59624

View File

@ -10,7 +10,7 @@
{%- elif v|length() > 0 and (v[0] is number or v[0] is string) -%}
{{ lb }}{{ k|indent(ind,True) }}{{ vhost_config(v,'', 0, '', '')}}{{ delim }}
{%- else %}
{{ k|indent(ind, True) }} {{ '{' }}
{{ lb }}{{ k|indent(ind, True) }} {{ '{' }}
{{- vhost_config(v, '', ind + ind_increment) }}
{{ '}'|indent(ind, True) }}
{%- endif -%}