Setting the index page in the layout and adding latest post.