{% for category, commits in release["elements"].items() %}
{%- if category not in ("ci", "chore") %}
## {{ category | capitalize }}
{% for commit in commits %}{% if category != "unknown" %}
* {{ commit.descriptions[0] | capitalize }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% else %}
* {{ commit.message.rstrip() }} ([`{{ commit.short_hash }}`]({{ commit.hexsha | commit_hash_url }}))
{% endif %}{% endfor %}{% endif %}{% endfor %}
