I'm currently working on creating email templates using Foundation email and Handlebars. My goal is to display certain headings based on the data passed to the component, but I haven't been successful so far. Can you help me identify what I am doing incorrectly here?
heading-1.html
<h1>{{text}}</h1>
paragraph.html
<row class="card">
<columns>
<wrapper class="inner-padding">
{{#if (eq heading-1.length > 0)}}
{{> heading-1 text="Test"}}
{{else}}
<h1>failed</h1>
{{/if}}
<p>
{{text}}
</p>
</wrapper>
</columns>
</row>
index.html
<container>
<row>
<columns class="content">
{{> paragraph
heading-1="test"
text="Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet dolorem molestias nam odit suscipit velit.
Ab aliquam at autem dignissimos dolorum ipsam magnam molestiae officia, quae quo, veniam veritatis voluptatibus?"
}}
</columns>
</row>
</container>