Skip to content

Commit

Permalink
Fix changelog template
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
quba42 committed Feb 19, 2024
1 parent f536904 commit 3bef899
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CHANGES/.TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@

{# TOWNCRIER TEMPLATE #}
{% for section, _ in sections.items() %}
{% if section %}## {{section}}
{% if section %}### {{section}}

{% endif %}

{% if sections[section] %}
{% for category, val in definitions.items() if category in sections[section]%}
### {{ definitions[category]['name'] }}
#### {{ definitions[category]['name'] }}

{% if definitions[category]['showcontent'] %}
{% for text, values in sections[section][category].items() %}
- {{ text }}
{% if values %}
{{ values|join(',\n ') }}
{% endif %}
{% endfor %}

{% else %}
Expand All @@ -33,3 +35,5 @@ No significant changes.
{% endif %}
{% endfor %}
---


0 comments on commit 3bef899

Please sign in to comment.