title: Handlebar.java : Comparing equality in #if helpers
body: <p>How can I compare equality and other logical conditions in Handlebars.java. 
  For example:</p>
  
  <pre><code>{{#if template_version == "v2" }}
    //do something 
  {{ else }}
    //do something
  {{/if}}
  </code></pre>
  
  <p>Solutions with or without <code>registerHelper()</code> are welcome.</p>