From 503164f57016e54a75bd11535bfe7a70cbc4b9ad Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 6 May 2021 10:08:29 +0200 Subject: [PATCH] Fix changelog template for towncrier 21.3.0 See https://github.com/twisted/towncrier/issues/340 --- changelog.d/towncrier_template.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.d/towncrier_template.rst b/changelog.d/towncrier_template.rst index 29ca74c4e..f3bb79021 100644 --- a/changelog.d/towncrier_template.rst +++ b/changelog.d/towncrier_template.rst @@ -1,3 +1,5 @@ +{{ versiondata.version }} ({{ versiondata.date }}) +{{ top_underline * ((versiondata.version + versiondata.date)|length + 3)}} {% for section, _ in sections.items() %} {% set underline = underlines[0] %}{% if section %}{{section}} {{ underline * section|length }}{% set underline = underlines[1] %}