move index out of build for gh-pages.