Skip to content
Myr

Merge pull request #159 from myle/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update docs/templates.rst

authored by Armin Ronacher · committed by Armin Ronacher · parents 257a8cd, aa023e4 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:docs/templates.rst+4 added
586 unmodified lines
587 {%- endif %}</li>588 {%- endfor %}589 </ul>590591The `loop` variable always refers to the closest (innermost) loop. If we592have more than one levels of loops, we can rebind the variable `loop` by593writing `{% set outer_loop = loop %}` after the loop that we want to594use recursively. Then, we can call it using `{{ outer_loop(...) }}`595596If597~~598
787 unmodified lines