This looks like code to me, even if it is wrapped in JSON:
> {{#each posts}}
> {{# if ('type' in this) && (type=='stories') }}