From 0877f3f5ac1cf53cd8900d62e7b5e122322ead03 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 24 Oct 2016 13:12:13 +0300 Subject: [PATCH] big commti --- frontend/views/catalog/product.php | 5 ++++- frontend/web/robots.txt | 9 +++++++-- frontend/widgets/Seo.php | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 5c47a1b..dd5ae8b 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -289,7 +289,10 @@ FlipclockAsset::register($this);
events as $event):?> banner) && $event->isActive()):?> - getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?> + getImageUrl('banner'), 'banner_list',[ + 'alt'=>'test', + 'title' => 'test2' + ]),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?>
diff --git a/frontend/web/robots.txt b/frontend/web/robots.txt index ed8a214..d3ff7e2 100755 --- a/frontend/web/robots.txt +++ b/frontend/web/robots.txt @@ -1,3 +1,8 @@ User-agent: * - -Disallow: / \ No newline at end of file +Disallow: /order +Disallow: /*search +Disallow: /?sort +Disallow: /*event +Disallow: /?page +Host: www.linija-svitla.ua +Sitemap: http://www.linija-svitla.ua/sitemap.xml \ No newline at end of file diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index def4108..ffaebeb 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -196,7 +196,7 @@ class Seo extends Widget } else if ( isset($filter['brands']) && count($filter['brands']) > 1 - || isset($filter) && $this->checkFilter($filter) + || isset($filter) && !$this->checkFilter($filter) ) { $this->getView()->registerMetaTag([ -- libgit2 0.21.4