Sign in

List of Posts

#3310
Avatar photobenthroop

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?