Correcting the indentation.

This commit is contained in:
Jeff Baskin 2016-10-23 21:03:24 -04:00
parent 35f7294ea9
commit 42cde887c8

View File

@ -16,7 +16,7 @@
{{ data|string|indent(indents, True) }}{{ '\n' }} {{ data|string|indent(indents, True) }}{{ '\n' }}
{%- else -%} {%- else -%}
{%- if indents != 0 -%} {%- if indents != 0 -%}
{{- " {\n" -}} {{- "{\n" -}}
{%- endif -%} {%- endif -%}
{%- if data is mapping -%} {%- if data is mapping -%}
{%- for entry in data|dictsort -%} {%- for entry in data|dictsort -%}
@ -25,7 +25,7 @@
{%- endfor -%} {%- endfor -%}
{%- else -%} {%- else -%}
{%- for entry in data -%} {%- for entry in data -%}
{{- config_entries(entry, indents + 2) -}} {{- config_entries(entry, indents) -}}
{%- endfor -%} {%- endfor -%}
{%- endif -%} {%- endif -%}
{%- if indents != 0 -%} {%- if indents != 0 -%}