improved gh-pages generator