diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index 3787c20..8f53513 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -29,8 +29,8 @@ //foreach($category->getParents()->all() as $parent) { // $this->params['breadcrumbs'][] = ['label' => $parent->categoryName->value, 'url' => ['catalog/category', 'category' => $parent]]; //} - $this->params['breadcrumbs'][] = ['label' => 'Каталог', 'url' => Url::to(['catalog/category']),'itemprop' => 'url' ]; - $this->params['breadcrumbs'][] = Html::tag('span', $category->categoryName->value, ['itemprop' => 'title']); + $this->params['breadcrumbs'][] = ['label' => 'Каталог', 'url' => Url::to(['catalog/category']),'itemprop' => 'url' ]; + $this->params['breadcrumbs'][] = Html::tag('span', $category->categoryName->value, ['itemprop' => 'name']); $this->registerCssFile (Yii::getAlias('@web/css/ion.rangeSlider.css')); diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 81f13f3..6dc600b 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -241,22 +241,40 @@ $this->registerJs(" render('main-menu')?>
-
params['breadcrumbs'])):?> - +
-- libgit2 0.21.4