render the posts not the array of posts