Reformatting the posts on the index page