show multiple posts on the homepage

fixed a bug where it was only showing one post at a time