2020-07-10 00:58:55 +02:00
|
|
|
{% from "gitea/map.jinja" import gitea with context %}
|
|
|
|
|
2021-12-29 16:56:39 +01:00
|
|
|
{%- 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 -%}
|