Support an option to truncate a url. This means when generating a URL, ignore any parents