before {#each animals as animal}

{animal}

{:else}

no animals, but rather {foo}

{/each} after