add baseurl to config and links