Add list items.
This commit is contained in:
parent
d7a27a99b1
commit
7e9901dc47
@ -23,6 +23,10 @@
|
|||||||
{{ entry[0]|indent(indents, True) }}
|
{{ entry[0]|indent(indents, True) }}
|
||||||
{{- config_entries(entry[1], indents + 2) -}}
|
{{- config_entries(entry[1], indents + 2) -}}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
{%- else -%}
|
||||||
|
{%- for entry in data -%}
|
||||||
|
{{- config_entries(entry, indents + 2) -}}
|
||||||
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- if indents != 0 -%}
|
{%- if indents != 0 -%}
|
||||||
{{ '}'|indent(indents - 2, True) }}{{ '\n' }}
|
{{ '}'|indent(indents - 2, True) }}{{ '\n' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user