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