main-banner.hbs
772 Bytes
{{# mainBanner}}
<div class="main-banner slide-container"{{#unless list}} style="background:url({{image src 1920 450}}) no-repeat top center;"{{/unless}}>
{{#if list}}
<div class="slide-wrapper">
<ul>
{{# list}}
<li class="banner-img" style="background: {{bgColor}} url({{image src 1920 450}}) no-repeat top center;">
{{#if url}}
<a href="{{url}}" target= "_blank"></a>
{{/if}}
</li>
{{/ list}}
</ul>
</div>
{{^}}
{{#if url}}
<a href="{{url}}"></a>
{{/if}}
{{/if}}
</div>
{{/ mainBanner}}