This works (if I have defined a block "try" or a file "./try")

[% FILTER indent(2) -%]
[% WRAPPER try; -%]
whatever
[%- END %][% END %]

But it looks like there should be something better (eg, with just one
directive tag. I have tried what I thought was syntax for chaining
directives but can't seem to find anything that works.

Can someone move me along a bit?
Thanks,
..jim


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to