splittet index.html into templates