handle github pages urls correctly