in reply to Re: Template toolkit binary operations
in thread Template toolkit binary operations
Thank you for your reply. I'll edit my post. Using Perl to do the trick is fine. I just thought there would be an easier way. I need something like [% IF a & 1 == 1 %]thumbnail[% ELSE %]picture[% END %].