Commit 0877f3f5ac1cf53cd8900d62e7b5e122322ead03
1 parent
8a7996ea
big commti
Showing
3 changed files
with
12 additions
and
4 deletions
Show diff stats
frontend/views/catalog/product.php
@@ -289,7 +289,10 @@ FlipclockAsset::register($this); | @@ -289,7 +289,10 @@ FlipclockAsset::register($this); | ||
289 | <div class="events"> | 289 | <div class="events"> |
290 | <?php foreach($product->events as $event):?> | 290 | <?php foreach($product->events as $event):?> |
291 | <?php if(!empty($event->banner) && $event->isActive()):?> | 291 | <?php if(!empty($event->banner) && $event->isActive()):?> |
292 | - <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?> | 292 | + <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list',[ |
293 | + 'alt'=>'test', | ||
294 | + 'title' => 'test2' | ||
295 | + ]),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?> | ||
293 | <?php endif; ?> | 296 | <?php endif; ?> |
294 | <?php endforeach; ?> | 297 | <?php endforeach; ?> |
295 | </div> | 298 | </div> |
frontend/web/robots.txt
1 | User-agent: * | 1 | User-agent: * |
2 | - | ||
3 | -Disallow: / | ||
4 | \ No newline at end of file | 2 | \ No newline at end of file |
3 | +Disallow: /order | ||
4 | +Disallow: /*search | ||
5 | +Disallow: /?sort | ||
6 | +Disallow: /*event | ||
7 | +Disallow: /?page | ||
8 | +Host: www.linija-svitla.ua | ||
9 | +Sitemap: http://www.linija-svitla.ua/sitemap.xml | ||
5 | \ No newline at end of file | 10 | \ No newline at end of file |
frontend/widgets/Seo.php
@@ -196,7 +196,7 @@ class Seo extends Widget | @@ -196,7 +196,7 @@ class Seo extends Widget | ||
196 | 196 | ||
197 | } else if ( | 197 | } else if ( |
198 | isset($filter['brands']) && count($filter['brands']) > 1 | 198 | isset($filter['brands']) && count($filter['brands']) > 1 |
199 | - || isset($filter) && $this->checkFilter($filter) | 199 | + || isset($filter) && !$this->checkFilter($filter) |
200 | 200 | ||
201 | ) { | 201 | ) { |
202 | $this->getView()->registerMetaTag([ | 202 | $this->getView()->registerMetaTag([ |