{#each attachments as attachment} {#if attachment.type?.startsWith('image')}
{:else}
{attachment.extension}
{/if} {/each} {#if leftover}
+{leftover} more
{/if}