renamed index page and created new index page to show the posts