Added the baseurl to _config.yml and used it to change links.