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