{#each list as item, index (item.foo)}
{/each}