Next: , Previous: , Up: Top   [Contents][Index]

6 Comments

To comment-out part of a line in a template, use the comment syntax: {# #}.

For example, this template would render as 'hello':

{# greeting #}hello

A comment can contain any template code, invalid or not. For example:

{# {% if foo %}bar{% else %} #}

If you need to comment out a multiline portion of the template, see the comment tag.


Next: , Previous: , Up: Top   [Contents][Index]