Corrects base URL to support gh-pages.