{% for section in config -%} [{{ section.key() }}] {% for key, val in section.items() -%} {{ key }} = {{ val }} {% endfor -%} {% endfor -%}