protected function _setAlternate($href, $type, $title, $media = null, $prepend = false, $conditional = '')
    {
        //określanie parametrów
        $params = ['rel' => 'alternate', 'type' => $type, 'title' => $title, 'href' => $href];
        if ($media) {
            $params['media'] = $media;
        }
        return $this->headLink($params, $prepend, $conditional);
    }