We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c6426 commit c432ae2Copy full SHA for c432ae2
postfix/files/mapping.j2
@@ -21,6 +21,7 @@
21
{%- else %}
22
{#- Some settings need order, handle OrderedDict #}
23
{% for item in data %}
24
-{{ format_value(item.keys()[0], item.values()[0]) }}
+{%- set key, value = item.popitem() %}
25
+{{ format_value(key, value) }}
26
{%- endfor -%}
27
{%- endif %}
0 commit comments