title: mandrill handlebars each loop - how to check odd items
body: <p>I'm using mandrillapp to send massive-customized email using send-api.
  My template is using handlebar syntax recently supported by mandrill: <a href="https://mandrill.zendesk.com/hc/en-us/articles/205582537" rel="nofollow">https://mandrill.zendesk.com/hc/en-us/articles/205582537</a> and the #each loop I'm using seems to work well.</p>
  
  <p>Now I need to iterate little bit better: i.e. looking if the item in the each loop is odd or even, if is the last or something like that. </p>
  
  <pre><code>&lt;div class="entry"&gt;
    {{#each products}}
      &lt;div class="odd"&gt; &lt;!-- how to change class to even?--&gt;
        &lt;div&gt;{{name}}&lt;/div&gt;
        &lt;div&gt;{{price}}€&lt;/div&gt;
      &lt;/div&gt;
    {{/each}}
  &lt;/div&gt;
  </code></pre>
  
  <p>Note: I'm not talking about "handlebarsjs"  but only about the handlebar syntax available in mandrill templates</p>