title: In Mustache, is there a way to check of the list has items, but not repeat it?
body: <p>I would like to be able to check if a list is empty, and if it's not print a block, but I don't want to repeat that block for each item. I just want to be able to echo it once.</p>
  
  <p>Give this following structure:</p>
  
  <pre><code>array(
      "teasers" =&gt; array(
          array("title"=&gt;"Teaser Title 1"),
          array("title"=&gt;"Teaser Title 2")
      )
  );
  
  
  {{# teasers }}
  
      &lt;div class="items-wrap"&gt;
  
          &lt;div class="items"&gt;
  
              {{# . }}
  
                  &lt;div class="item"&gt;
  
                      {{ title }}
  
                  &lt;/div&gt;
  
              {{/ . }}
  
             &lt;/div&gt;
  
      &lt;/div&gt;
  
  {{/ teasers }}
  </code></pre>
  
  <p>I would like the <strong>items-wrap</strong> div to only print once, and repeat the <strong>item</strong> div for each item in the array. As is right now, the items-wrap is repeating once for each item in the teasers array. So... is there a way to check if the main array is not empty, but not repeat it?</p>
  
  <p>The goal is to only print the <strong>items-wrap</strong> once, if needed.</p>