blob: 4ab2fcc23352b0125d10c525be205a3e4a035b02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
; vi: ft=dosini
; This file is managed by Ansible. Manual changes will be overridden.
; DO NOT CHANGE!
{% macro procval(key, val) -%}
{% if val is mapping %}
[{{ key }}]
{% for k, v in val.items() %}{{ procval(k,v) }}
{% endfor -%}
{%- elif val is sameas true or val is sameas false -%}
{{ key }} = {{ val | string | lower }}
{%- else -%}
{{ key }} = {{ val }}
{%- endif -%}
{% endmacro %}
{% for key in gitea.config -%}
{{ procval(key, gitea.config[key]) }}
{% endfor %}
|