{#each links as link, i (i)}
links.splice(i, 1)}>Remove
{/each} {#if links.length < max}
links.push({ url: '', title: '' })}>Add a link
{/if}