Thanks ! I had tried this before but something else was wrong.
Now, everything is ok !!! Thanks again !
I think you just discovered a bug in the title handling.
When visiting this topic directly without involving ajax, the title tag gets corrupted and the HTML looks like this:
<title>Template conditional rel="icon" type="image/x-icon" href="/favicon.ico" />
Can't help you on your initial question, though. Sorry.
The templating engine is logicless, so the easiest way is to do it on the API... send in
{
myResult: x === y
}
and then use
<!-- IF myResult -->
or alternatively you could use helpers