mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Fix duplicate top line in NEWS.rst
It looks like towncrier unconditionally writes top_line when it is defined in the title_format configuration. So we must not repeat it in the template. When running towncrier with --draft, it works differently so in that case the top line is not shown...
This commit is contained in:
parent
128ec36254
commit
30faa6478e
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{% set underline = "=" %}
|
||||
{{ top_line }}
|
||||
{{ underline * top_line|length }}
|
||||
|
||||
{{ underline * ((top_line)|length) }}
|
||||
{% for section in sections %}
|
||||
{% set underline = "-" %}
|
||||
{% if section %}
|
||||
|
|
Loading…
Reference in a new issue