Correcting the indentation.
This commit is contained in:
parent
35f7294ea9
commit
42cde887c8
@ -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 -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user