Skip to content

Commit

Permalink
Fixed readme for dynamic example
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Nov 19, 2022
1 parent cd8f5b5 commit 8fd02bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dynamic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ engine for custom behavior.
```jinja
{%- with next_class = cycler(["odd", "even"]) %}
<ul class="{{ magic.make_class("ul") }}">
{%- for char in ["a", "b", "c", "d"] %}
{%- for char in seq %}
<li class={{ next_class() }}>{{ char }}</li>
{%- endfor %}
</ul>
Expand Down

0 comments on commit 8fd02bf

Please sign in to comment.