params['breadcrumbs'] = [ [ "text"=>"НОВОСТИ", "url"=>"/news" ] ]; $topic = ArrayHelper::getValue($model->topics,0); if($topic instanceof \app\models\base\NewsTopic){ $this->params['breadcrumbs'][] = [ "text"=>$topic->title, "url"=>mb_strtoupper($topic->url) ]; } Yii::$app->og->title = $topic->title; Yii::$app->og->description = $topic->description?:'Лента подкастов - '.Yii::$app->og->description; Yii::$app->og->og_title = $topic->title; Yii::$app->og->og_description = Yii::$app->og->description; $url = str_replace( '/news/', '/', $topic->getUrl(true) ); Yii::$app->og->canonical = $url ?>
render("/layouts/breadcrumbs")?>

title?>

lid?>

publishedAt?>

image instanceof \app\models\base\Image):?>

<?=$model->photo_title?>
photo_title?>

renderBody()?>
render("/layouts/lenta/lenta")?>