{% from "gitea/map.jinja" import gitea with context %} {%- for k,v in gitea.config.items() -%} {%- if k == "global" %} {%- for subkey,subval in v.items() -%} {{ subkey|upper() }} = {{ subval }} {% endfor -%} {% else -%} [{{ k }}] {% for subkey,subval in v.items() -%} {{ subkey|upper() }} = {{ subval }} {% endfor -%} {% endif %} {% endfor -%}