title: using "if"'s in jQuery tmpl
body: <p>Is it possible to create <code>if</code> sentences inside a jQuery tmpl template?</p>
  
  <pre><code>&lt;script id="template" type="text/html"&gt;
      &lt;h1&gt;${someVar}&lt;/h1&gt;
      if (${intro}!="")
          &lt;small&gt;${intro}&lt;/small&gt;
      endif
      &lt;p&gt;${restOfVariables}&lt;/p&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>Now, this would only write out the if as text, so is there any way to do something like this? Or would I have to create two different templates and do the check in my js before calling the template?</p>