Commit a59e31bbe2583af83b5b78d96cb058c214c682ce
1 parent
0e2f3d74
20.07.16
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/articles/show.php
... | ... | @@ -6,7 +6,7 @@ use yii\widgets\Breadcrumbs; |
6 | 6 | <?php |
7 | 7 | |
8 | 8 | $this->title = $news->meta_title; |
9 | -$this->params['seo']['title'] = !empty($this->title) ?$this->title : ''; | |
9 | +$this->params['seo']['title'] = !empty($this->title) ?$this->title :$news->title; | |
10 | 10 | $this->registerMetaTag(['name' => 'description', 'content' => $news->meta_description]); |
11 | 11 | ?> |
12 | 12 | ... | ... |