{#each segments as seg, i (i)}
{@render item(seg.item)}
{/each}
{#if items.length > 0} {/if}