diff --git a/towncrier/template.md b/towncrier/template.md index 07ccb4f6..13eb0bfb 100644 --- a/towncrier/template.md +++ b/towncrier/template.md @@ -6,27 +6,10 @@ {% if sections[section] %} {% for category, val in definitions.items() if category in sections[section]%} -{{ definitions[category]['name'] }} -{{ underline * definitions[category]['name']|length }} -{% if definitions[category]['showcontent'] %} {% for text, values in sections[section][category].items() %} -- {{ text }} ({{ values|join(', ') }}) +- {{ definitions[category]['name'] }}: {{ text }} ({{ values|join(', ') }}) +{% endfor %} {% endfor %} -{% else %} -- {{ sections[section][category]['']|join(', ') }} - {% endif %} -{% if sections[section][category]|length == 0 %} -No significant changes. - -{% else %} -{% endif %} - {% endfor %} -{% else %} -No significant changes. - - -{% endif %} -{% endfor %} \ No newline at end of file