[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Template Conditional Logic?

On Thu, Feb 3, 2011 at 11:31 AM, Luke <..hidden..> wrote:
> Is there any way to implement conditional logic in templates, beyond
> variable set/unset if statements?
In 1.2, I think if statements simply execute blocks or not if the test
passes.  The code is somewhat strange and I wouldn't bet on it.

In 1.3, we use standard TemplateToolkit rules, and so if blocks are
guaranteed to address execution of code and we can share maintenance
efforts with others.

Best Wishes,
Chris Travers