{#each items as item, index}
(activeIndex = index)} > {item.title ? item.title : ''}
{/each}