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' }}
{%- else -%}
{%- if indents != 0 -%}
{{- " {\n" -}}
{{- "{\n" -}}
{%- endif -%}
{%- if data is mapping -%}
{%- for entry in data|dictsort -%}
@ -25,7 +25,7 @@
{%- endfor -%}
{%- else -%}
{%- for entry in data -%}
{{- config_entries(entry, indents + 2) -}}
{{- config_entries(entry, indents) -}}
{%- endfor -%}
{%- endif -%}
{%- if indents != 0 -%}