added header generation on index.html template