Getting the data entry correct.
This commit is contained in:
parent
0404d8a8b9
commit
9de2e18c3e
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
{%- macro config_entries(data) -%}
|
{%- macro config_entries(data) -%}
|
||||||
{%- if data is mapping -%}
|
{%- if data is mapping -%}
|
||||||
{%- for entry_type in data|dictsort -%}
|
{%- for entry in data|dictsort -%}
|
||||||
{{ entry_type }} {
|
{{ entry[0] }} {
|
||||||
{{ config_entries(data[entry_type]) }}
|
{{ config_entries(entry[1]) }}
|
||||||
}{{ '\n' }}
|
}{{ '\n' }}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user