Prefer url from parenting container

If set, the share button should use the url from the parenting
container.