{#if value} {#each Array.isArray(value) ? value.slice(0, 3) : [value] as path}
./{path}
{/each} {#if Array.isArray(value) && value.length > 3}
...
{/if} {/if}