templating in index.html