projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e74205e
)
[Twig] Add a note about multiple inheritance (use tag)
author
Victor Berchet
<victor.berchet@yahoo.com>
Fri, 6 Jan 2012 08:18:08 +0000 (09:18 +0100)
committer
Victor Berchet
<victor.berchet@yahoo.com>
Fri, 6 Jan 2012 08:22:05 +0000 (09:22 +0100)
doc/templates.rst
patch
|
blob
|
history
diff --git
a/doc/templates.rst
b/doc/templates.rst
index
d7db1ef
..
117cfea
100644
(file)
--- a/
doc/templates.rst
+++ b/
doc/templates.rst
@@
-343,6
+343,12
@@
parent block:
more advanced features like block nesting, scope, dynamic inheritance, and
conditional inheritance.
+.. note::
+
+ Twig also supports multiple inheritance with the so called horizontal reuse
+ with the help of the :doc:`use<tags/use>` tag. This is an advanced feature
+ hardly ever needed in regular templates.
+
HTML Escaping
-------------