Fix changelog template for towncrier 21.3.0
See https://github.com/twisted/towncrier/issues/340
This commit is contained in:
parent
fbed0320a6
commit
503164f570
|
@ -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] %}
|
||||||
|
|
Loading…
Reference in New Issue