{#each parts as part, i} {#if part.endsWith("}")}
{:else} {part} {/if} {/each}