added a note about the self variable before 0.9.9
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 26 Jul 2010 08:53:43 +0000 (10:53 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 26 Jul 2010 08:53:43 +0000 (10:53 +0200)
doc/02-Twig-for-Template-Designers.markdown

index cc60bf9..92b9b85 100644 (file)
@@ -106,7 +106,7 @@ If a variable or attribute does not exist you will get back a `null` value
 
 Twig always references two special variables (mostly useful for macros):
 
- * `_self`: references the current template;
+ * `_self`: references the current template (was `self` before 0.9.9);
  * `_context`: references the current context.
 
 Filters