projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ad0b8f0
)
updated doc
author
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 22 Dec 2011 21:48:48 +0000 (22:48 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Thu, 22 Dec 2011 21:48:48 +0000 (22:48 +0100)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
a72ab7a
..
9e4fd29
100644
(file)
--- a/
doc/templates.rst
+++ b/
doc/templates.rst
@@
-476,7
+476,8
@@
exist:
* ``{"foo": "bar"}``: Hashes are defined by a list of keys and values
separated by a comma (``,``) and wrapped with curly braces (``{}``). A value
- can be any valid expression.
+ can be any valid expression (as of Twig 1.5, keys can also be any valid
+ expression).
* ``true`` / ``false``: ``true`` represents the true value, ``false``
represents the false value.