move the home page code in file template/home.html and include it in the index page.
 including home page code in index file