fix for relative links with no subfolder in the base_url