{#if showBanner}
{#if hasImage}
{#if hasResponsive && responsive} {#key responsive.fallback}
{#each responsive.sources as s (s.type)}
{/each}
(imgLoaded = true)} />
{/key} {:else} {#key resolvedImages[0]}
(imgLoaded = true)} /> {/key} {/if} {#if hasPageTitle}
{#if headlineHtml}
{@html headlineHtml}
{/if}
{#if subheadlineHtml}
{@html subheadlineHtml}
{/if}
{/if}
{:else if hasPageTitle}
{#if headlineHtml}
{@html headlineHtml}
{/if} {#if subheadlineHtml}
{@html subheadlineHtml}
{/if}
{/if} {#if hasText}
{banner!.text}
{/if}
{/if}