Hide sharing links when disabled.