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 }}