fix: renommer items→entries dans _parse_changelog (conflit méthode dict)
grp.items en Jinja2 résolvait la méthode dict.items() au lieu de la clé. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b18db0646c
commit
ec3284873a
2 changed files with 3 additions and 3 deletions
|
|
@ -468,9 +468,9 @@ def _parse_changelog():
|
|||
elif line.startswith("### ") and current is not None:
|
||||
if current_group:
|
||||
current["groups"].append(current_group)
|
||||
current_group = {"title": line[4:], "items": []}
|
||||
current_group = {"title": line[4:], "entries": []}
|
||||
elif line.startswith("- ") and current_group is not None:
|
||||
current_group["items"].append(line[2:])
|
||||
current_group["entries"].append(line[2:])
|
||||
|
||||
if current:
|
||||
if current_group:
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<div class="cl-group">
|
||||
<span class="cl-group-title cl-group-title--{{ grp.title | lower | replace(' ','_') }}">{{ grp.title }}</span>
|
||||
<ul class="cl-list">
|
||||
{% for item in grp.items %}
|
||||
{% for item in grp.entries %}
|
||||
<li>{{ item }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue