Is there some way to use, or replace, OR with something that handles values of 0? The following code:
title = "0"; title or 'untitled'; will print 'untitled'. I could use: IF title.defined; title; ELSE; 'untitled'; END; or IF title.length > 0; title; ELSE; 'untitled'; END; but the "or" operator is very useful. How would you do it? /Jacob _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
