diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 71791c7..ddc8121 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -110,7 +110,15 @@ class Seo extends Widget } else if (isset($filter['options']["naznacenie"]) && count($filter['options']["naznacenie"]) == 1) { $model = TaxOption::find()->where(['alias' => $filter['options']["naznacenie"]])->one(); - return $this->selectSeoData(self::H1).' '.$model->value->value; + if($this->selectSeoData(self::H1) == $this->category_name) { + + return $this->selectSeoData(self::H1) . ' ' . $model->value->value; + }else { + + return $this->selectSeoData(self::H1); + + } + } else { -- libgit2 0.21.4