Where I can find the Posts helper in Casper Theme


Where i Can find the Post helper file that is used in index.hbs like this

{{#foreach posts “Hello from posts”}}

            {{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
            {{> "post-card"}}


Please tell me, I would be so grateful, I have already seen

link but found no answer there as it doesn’t tell the file name and the location where i can find the post helper.


Do you mean this?

1 Like

Thanks for your reply.
I am finding the location that POST/POSTS helper code in the casper theme.


@Adil_Osama_Rasheed helpers are not located in the theme layer (e.g. Casper). The {{> "post-card"}} you referred to previously is not a helper it’s a “partial” that you can find in “partials” folder here :wink: hope this is what were looking for!

1 Like

Thanks Gargol :slight_smile: .
Do you have idea how posts are being fetched? I am not able to figure out how the post-public controller is called and what workflow is being followed to fetch posts?


Posts are being fetched using async helper {{#get}} you can find more info about how to use it in the docs here :wink:

1 Like