title: How to handle conditions when using mustache.js
body: <p>Suppose I have a list of items each one with a property (<code>status</code>) which can have one of these values:</p>
  
  <ul>
  <li>0 (inactive)</li>
  <li>1 (queued)</li>
  <li>2 (active)</li>
  </ul>
  
  <p>I need to display three different things in the template according to that value. These three things differ in markup and not only value.</p>
  
  <p>Now mustache being logic-less doesn't really provide logic constructs. Only boolean conditions can be "emulated ifs" with sections and inverted sections.</p>
  
  <p>Given that I have 3 different status values, what's the best way to construct the template?</p>
  
  <ol>
  <li>I can add three separate boolean properties and use sections</li>
  <li>I can cycle on all the items before rendering and add another property to each item containing the correct markup imported by another template (seems a bit overkill)</li>
  <li>other?</li>
  </ol>