before {#each animals as animal (animal)}

{animal}

{:else}

no animals, but rather {foo}

{/each} after