Extended index.html to other templates