https://codeberg.org/interpeer/liberate.git
Revision 447ffa7993fb4c201300511c1a68d910f475f328 authored by Jens Finkhaeuser on 24 July 2022, 13:25:14 UTC, committed by Jens Finkhaeuser on 24 July 2022, 13:25:14 UTC
1 parent 787506c
Raw File
Tip revision: 447ffa7993fb4c201300511c1a68d910f475f328 authored by Jens Finkhaeuser on 24 July 2022, 13:25:14 UTC
Update repo metadata
Tip revision: 447ffa7
towncrier_template.rst
{%- for section, _ in sections.items() %}
{%-  set underline = underlines[0] %}
{%-  if section %}{{section}}
{{     underline * section|length }}
{%-   endif %}
{%-   if sections[section] %}
{%-     for category, val in definitions.items() if category in sections[section] %}
{%-       if definitions[category]['showcontent'] %}
{%           for text, values in sections[section][category].items() %}
* {{ values|join(', ') }}: {{ text }}

{%           endfor %}
{%        else %}
* Miscellaneous: {{ sections[section][category]['']|join(', ') }}

{%        endif %}
{%-       if sections[section][category]|length == 0 %}
No significant changes.
{%-       endif %}
{%-     endfor %}
{%-   else %}
No significant changes.
{%-   endif %}
{%- endfor %}
back to top