In the url
http://template-toolkit.org/docs/modules/Template/Plugin/Directory.html
I think there's a misspelling in a variable name in the template wich shows a
directory tree:
[% USE dir = Directory(dirpath) %]
* [% dir.path %]
[% INCLUDE showdir %]
[% BLOCK showdir -%]
[% FOREACH file = dir.list -%]
[% IF file.isdir -%]
* [% file.name %]
[% file.scan -%]
[% INCLUDE showdir dir=file FILTER indent(4) -%]
[% ELSE -%]
- [% f.name %]
[% END -%]
[% END -%]
[% END %]
Here I think the last f should be file :)
Best regards,
damian.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates