{#each projects as project} {#if project.category === category}
{/if} {/each}