1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/towncrier/template.md
2019-08-22 23:25:27 +02:00

16 lines
482 B
Markdown

{% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}{% set underline = underlines[1] %}
{% endif %}
{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
{% for text, values in sections[section][category].items() %}
- {{ definitions[category]['name'] }}: {{ text }} ({{ values|join(', ') }})
{% endfor %}
{% endfor %}
{% endif %}
{% endfor %}