{% for key, source in sources %}
{% if source.heading is defined %}
- {{ source.heading }}
{% else %}
-
{{ source.label }}
{% if source.nested is defined and source.nested is not empty %}
{% include "_elements/sources" with {
sources: source.nested
} %}
{% endif %}
{% endif %}
{% endfor %}