I'm glad to announce that a new version of SmartTemplate has been released in the wild.
This release permits to use a variable as right part of an IF clause and permits the use of optionals spaces in IF clauses before and after the compare signs (=,!=, etc...).