Contents
{#each items as item} {#if item.depth === 2}
{ellipsize(item.text)}
{:else if item.depth === 3}
{ellipsize(item.text)}
{/if} {/each}