I am trying to debug posts data in post.hbs file Casper theme.
Code:
{{#get "posts" as |allposts|}}
{{#each allposts}}
{{ this }}
{{/each}}
{{/get}}
Above code [Object Object] in webpage but if I use {{ log this }} I don’t see any logs in console. Any idea why so? Also is it possible to add custom helpers in ghost to output data?