Adding baseurl config option to various links and img tags