if ($link['type'] == "text/html" || $link['rel'] == "alternate") {