{#if blocks?.length}
{#each blocks as box, idx}
{#if box.images?.length && (box.layout == 1 || box.layout == 3)}
{box.images[0].label || ''}
{/if} {#if box.text || box.title || (box.button_text && box.button_url)}
{#if box.subtitle}
{box.subtitle}
{/if} {#if box.title} {#if accordeon == true}

{box.title} \/

{:else}

{box.title}

{/if} {/if}
{@html box.text} {#if box.button_text && box.button_url} {box.button_text} {/if}
{/if} {#if box.images?.length && (box.layout == 2 || box.layout == 4)}
{box.images[0].label || ''}
{/if}
{/each}
{/if}