{% for section in sections %} [{{ section.name }}] {% if section.from is defined %} from = "{{ section.from }}" {% endif %} {% if section.to_list is defined %} to = {{ section.to_list }} {% endif %} [{{ section.name }}.server] address = "{{ section.server.address }}" port = {{ section.server.port }} user = "{{ section.server.user }}" password = "{{ section.server.password }}" {% endfor %} # vim: set ft=toml et sw=0 ts=2 sts=0: