Permalink
Browse files

updating if tag docs.

  • Loading branch information...
1 parent 6fcfb48 commit 0bbd86a3e8e4b461c151e48a701f517e294c5b17 @paularmstrong committed Sep 17, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/tags.md
View
@@ -58,10 +58,12 @@ Supports the following expressions.
You can use filters on any operand in the statement.
{% endif %}
-Also supports using the `{% else %}` tag within an if-block. Using `{% else %}` anywhere outside an immediate parent if-block will throw an exception.
+Also supports using the `{% else %}` and `{% else if ... %}` tags within an if-block. Using `{% else [if ...] %}` anywhere outside an immediate parent if-block will throw an exception.
{% if foo %}
Some content.
+ {% else if "foo" in bar %}
+ Content if the array `bar` has "foo" in it.
{% else %}
Fallback content.
{% endif %}

0 comments on commit 0bbd86a

Please sign in to comment.