title: How can I check multiple conditions in a Handlebars template?
body: <p>I have a handelbars page where depending on the title item in json it'll show different content.</p>
  
  <p>so far this is built using <strong>helper if_wq</strong></p>
  
  <p>for example <strong>if title = test</strong> this works</p>
  
  <p>I would like a way to extend this functionality to show <strong>if title = test</strong> and <strong>colors.href = /test</strong></p>
  
  <p>so the condition is only valid if both conditions are true.</p>
  
  <p><strong>example of my code</strong> </p>
  
  <pre><code> {{#if_eq title 'test'}}
          True
      {{/if_eq}}
  </code></pre>
  
  <p><strong>Example of my helper task</strong></p>
  
  <pre><code>handlebars.Handlebars.registerHelper('if_eq', function(a, b, opts) {
      if (a === b) {
          return opts.fn(this);
      } else {
          return opts.inverse(this);
      }
  });
  </code></pre>
  
  <p><strong>example of my json</strong></p>
  
  <pre><code>"range-list-page": {     
    "ranges": [            
      {                    
      "title": "test",  
    "colors": [                                               
      {                                                       
        "color": "#fff",                                      
        "label": "White",                                     
        "bordered": true,                                     
        "href" : "/test"      
      },                                                      
      {                                                       
        "color": "#F3DCAE",                                   
        "label": "Cream",                                     
        "href" : "http://google.com"                          
      },                                                      
      {                                                       
        "color": "#C5B7B0",                                   
        "label": "Cashmere",                                  
        "href" : "http://google.com"                          
      },                                                      
      {                                                       
        "color": "#D0B193",                                   
        "label": "Larch",                                     
        "href" : "http://google.com"                          
      }                                                       
    ]             
  </code></pre>