{% if sections and 'DEFAULT' in sections -%} {% for key, value in sections['DEFAULT'] -%} {{ key }} = {{ value }} {% endfor -%} {% endif -%} {% if backends -%} enabled_backends = {{ backends }} {% endif -%} {% for section in sections -%} {% if section != 'DEFAULT' -%} [{{ section }}] {% for key, value in sections[section] -%} {{ key }} = {{ value }} {% endfor -%} {% endif -%} {% endfor -%}