http://glfwtfwhlsm2u5pw3b7crist7bt7fwepj2wgv3n3b64unj22v5435tyd.onion/code/qrqma.html
In the simplest form, you can use it to test if a variable is not empty and not false: {% if users %} <ul> {% for user in users %} <li> {{ user }} </li> {% endfor %} </ul> {% endif %} You can use more complex Expressions there, too: {% if kenny.sick %}
Kenny is sick.
{% else %}{% if kenny.dead %}
You killed Kenny! You bastard!!!
{% else %}
Kenny looks okay --- so far
{% endif %}
{% endif %} Assignments Inside control blocks, you can also assign values to variables.