Skip to content

Commit

Permalink
Fix loop index
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jan 12, 2021
1 parent 3e0d141 commit 3f6b12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

{% macro render(names, meta, items, mode) %}
{% for name in names %}
{{ render_name(name, meta, loop.index0, mode) }}
{{ render_name(name, meta, loop.index, mode) }}
{% endfor %}

{% for game in items %}
Expand Down

0 comments on commit 3f6b12c

Please sign in to comment.