Skip to content

Commit

Permalink
Corrige o template para criação do changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed Sep 27, 2024
1 parent 502fd55 commit 0b41369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/news/.changelog_template.jinja
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{% if sections[] %}
{% for category, val in definitions.items() if category in sections[] %}
{% if sections[""] %}
{% for category, val in definitions.items() if category in sections[""] %}

### {{ definitions[category]['name'] }}

{% for text, values in sections[][category].items() %}
{% for text, values in sections[""][category].items() %}
- {{ text }} {{ values|join(', ') }}
{% endfor %}

Expand Down

0 comments on commit 0b41369

Please sign in to comment.