This commit is contained in:
Fabien Potencier
2015-05-16 16:14:08 +02:00
parent 5b43c44cae
commit c55e60394c
+3 -3
View File
@@ -37,7 +37,7 @@ You can also use ``not`` to check for values that evaluate to ``false``:
<p>You are not subscribed to our mailing list.</p>
{% endif %}
For multiple conditions ``and`` and ``or`` can be used:
For multiple conditions, ``and`` and ``or`` can be used:
.. code-block:: jinja
@@ -45,8 +45,8 @@ For multiple conditions ``and`` and ``or`` can be used:
<p>It's a nice day for a walk in the park.</p>
{% endif %}
For multiple branches ``elseif`` and ``else`` can be used like in PHP. You can use
more complex ``expressions`` there too:
For multiple branches ``elseif`` and ``else`` can be used like in PHP. You can
use more complex ``expressions`` there too:
.. code-block:: jinja