Changes between Version 2 and Version 3 of TemplatePitfalls
- Timestamp:
- Aug 24, 2005, 3:33:13 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TemplatePitfalls
v2 v3 8 8 Use {% debug %} in a template block if you want to know what is defined and can be used in a template. 9 9 10 The debug output is pretty ugly unless you look at it through View Source. 10 The debug output is pretty ugly unless you look at it through View Source, or you can do it this way: 11 12 {{{ 13 {% filter linebreaks %} 14 {% debug %} 15 {% endfilter %} 16 }}} 11 17 12 18 == Anonymity ==