Skip to content

Commit

Permalink
This produces both good HTML and readable RsT
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Apr 17, 2021
1 parent d6c7969 commit eeec076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/news/template.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% set underline = "=" %}
{{ top_line }}
{{ underline * top_line|length }}
{{- underline * top_line|length }}

{% for section in sections %}
{%- for section in sections %}
{% set underline = "-" %}
{% if section %}
{{ section }}
Expand Down

0 comments on commit eeec076

Please sign in to comment.