Fixing issues when deploying the site to gh-pages.