{#if type}{type}{/if}

Sorry, the ID you entered is invalid:

{#each problems as problem}

{problem}

{/each}

You can read more here.