title = $model->name; $this->params['breadcrumbs'] = [ ]; $this->params['breadcrumbs'][] = [ "text"=>$model->name, "url"=>$model->getUrl() ]; Yii::$app->og->title = $model->name; Yii::$app->og->description = $model->name.': '.$model->jobTitle; Yii::$app->og->canonical = $model->getUrl(true); Yii::$app->og->og_url = $model->getUrl(true); Yii::$app->og->og_image = $model->getImg('_sizehd','jpg'); Yii::$app->og->og_type = "person"; Yii::$app->og->og_title = htmlspecialchars($model->name); Yii::$app->og->og_description = htmlspecialchars(Yii::$app->og->description); //Yii::$app->og->dtpub = date( "r", strtotime( '10.04.2023 12:40:00' ) ); jsonLD::addAmicORG(); //jsonLD::news( $model->title, preg_replace('/\s+/', ' ', str_replace( ["\n","\r"],' ',Yii::$app->og->description)), $model->image->url, $model->dt_pub, $model->getUrl(), $model->uid, $model->text); jsonLD::person( $model->name, $model->description, $model->jobTitle, Url::base('https').$model->getImg('_size2','jpg', true), $model->getUrl(true), ''); $i = 1; foreach($this->params['breadcrumbs'] as $el){ jsonLD::addBreadcrumb($i, $el['url'], $el['text']); $i++; } ?>
render("/layouts/breadcrumbs")?>

name?>

getImg('_size2','jpg')?>" class="img-thumbnail rounded float-left mr-3 mb-2 person" alt="name?>">*/?>

jobTitle?>


description?>

Последнии материалы автора

render("/layouts/lenta/lenta_test", ['author'=>$model->id])?>

about

text?>