We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

List of Posts

Avatar photo[anonymous]

Ok made some headway and I have a question.

On the theme’s index.html, there is a posts variable what has an array of all posts.  I am able to display them with this chunk of code put in the left side of the layout:

<br> <h1>All Posts</h1>

Works fine. However, on Post.hbs, there is no posts array filled in, so this code doesn’t work. How can I get all of the posts into Post.hbs’s scope?