build index.html for static sites