8 lines
101 B

{{#each array as item}}
{{#if item}}
<div>foo</div>
{{else}}
<div>bar</div>
{{/if}}
{{/each}}