Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 270 Bytes

jinja-if-else-and-loops.md

File metadata and controls

16 lines (14 loc) · 270 Bytes

Jinja If and For Loops

If statement

{% if True %}
  yay
{% endif %}

For Loops For loops work like Python's for loop. Here is an example. ` {% for user in users %}

  • {{ user.username }}
  • {% endfor %} `