Error Unexpected {/foreach}, expecting {/if} in .../Homepage/detail.latte:254: 0