rewrite for gh-pages