Skip to content

Commit

Permalink
Merge branch '1.x' into 2.x
Browse files Browse the repository at this point in the history
* 1.x:
  Improved the code of an example
  • Loading branch information
fabpot committed Sep 27, 2018
2 parents e90c786 + 4eea72c commit 5dd532e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/tags/if.rst
Expand Up @@ -50,12 +50,12 @@ use more complex ``expressions`` there too:

.. code-block:: jinja
{% if kenny.sick %}
Kenny is sick.
{% elseif kenny.dead %}
You killed Kenny! You bastard!!!
{% if product.stock > 10 %}
Available
{% elseif product.stock > 0 %}
Only {{ product.stock }} left!
{% else %}
Kenny looks okay --- so far
Sold-out!
{% endif %}
.. note::
Expand Down

0 comments on commit 5dd532e

Please sign in to comment.