You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailu/towncrier/template.md

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 %}