diff --git a/tools/news/template.rst b/tools/news/template.rst index 7ea90573d..70d6ab75d 100644 --- a/tools/news/template.rst +++ b/tools/news/template.rst @@ -1,7 +1,9 @@ -{% for section in sections %} +{{ top_line -}} + +{%- for section in sections %} {% set underline = "-" %} {% if section %} -{{section}} +{{ section }} {{ underline * section|length }}{% set underline = "~" %} {% endif %}