Merge pull request #125 from fedusia/master

Add newline to blocks like location, server, httpd and etc
This commit is contained in:
Niels Abspoel 2016-06-29 17:04:10 +02:00 committed by GitHub
commit ef8fb87105

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 -%}