Adding layout template to index.html.