Refactor gh pages