moves body from layout.html to index.html