diff --git a/frontend/views/articles/show.php b/frontend/views/articles/show.php index 86d1464..e58b53c 100755 --- a/frontend/views/articles/show.php +++ b/frontend/views/articles/show.php @@ -6,7 +6,7 @@ use yii\widgets\Breadcrumbs; title = $news->meta_title; -$this->params['seo']['title'] = !empty($this->title) ?$this->title : ''; +$this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title; $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]); ?> -- libgit2 0.21.4