title = $model->name; $this->params['breadcrumbs'] = [ ]; $this->params['breadcrumbs'][] = [ "text"=>$model->name, "url"=>"/person/".mb_strtolower($model->alias) ]; 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('1','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('1','jpg', true), $model->getUrl(true), $model->birthdate); $i = 1; foreach($this->params['breadcrumbs'] as $el){ jsonLD::addBreadcrumb($i, $el['url'], $el['text']); $i++; } ?>
render("/layouts/breadcrumbs")?>

name?>

<?=$model->name?>

jobtitle?>


description?>