title: doT.js: chained if-else if in dot.js
body: <p>I was trying <code>doT.js</code> template engine.How to do nested if-else if in <code>dot.js</code> like </p>
  
  <pre><code>if()
   .....
  else if
   .....
  else if
   .....
  else
   .....
  </code></pre>