Fixed some bugs for git pages.