Cees> You can fool TT into treating it like a list by using slice(0) 

Randal> Yow!  I've been looking for an idiom for that.  Thank you!

That's a new one on me, too.  Nice!  

BTW, the first argument defaults to 0 so you can simplify it to 
[% obj.slice %].

A


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

Reply via email to