I don't know, it's OK, but I don't really think conditional ternary or short-circuited logical operators are better than dedicated conditional blocks for a templating language. Or array methods over dedicated loop constructs.
It also has some weird gotchas (have to use className when you mean class).
It also has some weird gotchas (have to use className when you mean class).