Skip to content

Commit 733f33a

Browse files
committed
Make changelog tmpl compatible w/ new towncrier
Ref: pypa/pip#9815
1 parent 07eda18 commit 733f33a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

towncrier_template.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
{% if top_line %}
2+
{{ top_line }}
3+
{{ top_underline * ((top_line)|length)}}
4+
{% endif %}
15
{% for section, _ in sections.items() %}
26
{% set underline = underlines[0] %}{% if section %}{{section}}
37
{{ underline * section|length }}

0 commit comments

Comments
 (0)