{#if showBanner}
{#if hasImage}
{#if hasResponsive && responsive} {#key responsive.fallback} {#each responsive.sources as s (s.type)} {/each} {altText} (imgLoaded = true)} /> {/key} {:else} {#key resolvedImages[0]} {altText} (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}