Fix changelog template for towncrier 21.3.0

See https://github.com/twisted/towncrier/issues/340
This commit is contained in:
Hynek Schlawack 2021-05-06 10:08:29 +02:00
parent fbed0320a6
commit 503164f570
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
{{ versiondata.version }} ({{ versiondata.date }})
{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}}
{% for section, _ in sections.items() %} {% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}} {% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}{% set underline = underlines[1] %} {{ underline * section|length }}{% set underline = underlines[1] %}