For links without paths, honor variables.attributes.href if defined.