summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTzu-ping Chung <uranusjr@gmail.com>2021-04-18 07:44:38 +0800
committerGitHub <noreply@github.com>2021-04-18 07:44:38 +0800
commitcf2c2ccf6fd68140c7b17296b1aeb3a43848fbb2 (patch)
treef870b1734ebfce4e472ede56d315aecb82f945ad /tools
parentc6ab30aaefa24e53983ca29b38fb67076f008238 (diff)
downloadpip-cf2c2ccf6fd68140c7b17296b1aeb3a43848fbb2.tar.gz
Fix changelog misformat (#9817)
Diffstat (limited to 'tools')
-rw-r--r--tools/news/template.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/news/template.rst b/tools/news/template.rst
index 70d6ab75d..cff0db4f6 100644
--- a/tools/news/template.rst
+++ b/tools/news/template.rst
@@ -1,6 +1,7 @@
-{{ top_line -}}
-
-{%- for section in sections %}
+{% set underline = "=" %}
+{{ top_line }}
+{{ underline * top_line|length }}
+{% for section in sections %}
{% set underline = "-" %}
{% if section %}
{{ section }}