Updated index to html file so it can be paginated and changed the posts from a list to articles with excerpts