Getting the returns correct.
This commit is contained in:
parent
77ed019bfe
commit
4d65dc5b40
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
{%- macro config_entries(data, indents) -%}
|
{%- macro config_entries(data, indents) -%}
|
||||||
{%- if data is string or data is number -%}
|
{%- if data is string or data is number -%}
|
||||||
{{- " " }}{{ data }}
|
{{- " " }}{{ data }}{{ '\n' }}
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{- " {" -}}
|
{{- " {\n" -}}
|
||||||
{%- if data is mapping -%}
|
{%- if data is mapping -%}
|
||||||
{%- for entry in data|dictsort -%}
|
{%- for entry in data|dictsort -%}
|
||||||
{{ entry[0]|indent(indents, True) }}
|
{{ entry[0]|indent(indents, True) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user