request->get('page'); $ppage = ($page)?'-'.$page:''; $addtpage = $page?". Страница ($page)":''; $this->params['breadcrumbs'] = [ [ "text"=>"СТАТЬИ", "url"=>"/articles" ] ]; $this->title = "Лента статей: amic.ru"; Yii::$app->og->title = $this->title.$addtpage; Yii::$app->og->description ='Лента Статей - '.Yii::$app->og->description.$addtpage; Yii::$app->og->og_title = str_replace( '"',""", $this->title ); Yii::$app->og->og_description = str_replace( '"',""",Yii::$app->og->description); $url = '/articles'; Yii::$app->og->canonical = $url; Yii::$app->og->og_type = "website"; jsonLD::addAmicORG(); $i = 1; foreach($this->params['breadcrumbs'] as $el){ jsonLD::addBreadcrumb($i, $el['url'], $el['text']); $i++; } ?>