13 lines
255 B
TOML
13 lines
255 B
TOML
{% for section in config -%}
|
|
[{{ section }}]
|
|
{% for key, val in config[section].iteritems() -%}
|
|
{% if val is True -%}
|
|
{{ key }} = true
|
|
{% elif val is False -%}
|
|
{{ key }} = false
|
|
{% else -%}
|
|
{{ key }} = "{{ val }}"
|
|
{% endif -%}
|
|
{% endfor -%}
|
|
{% endfor -%}
|