Skip to content

Commit

Permalink
Make changelog tmpl compatible w/ new towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Apr 25, 2021
1 parent 00df794 commit 3603b28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions towncrier_template.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% if top_line %}
{{ top_line }}
{{ top_underline * ((top_line)|length)}}
{% endif %}
{% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}
Expand Down

0 comments on commit 3603b28

Please sign in to comment.