fix title

parent e473af26
...@@ -34,7 +34,7 @@ class PageController extends \common\components\BaseController ...@@ -34,7 +34,7 @@ class PageController extends \common\components\BaseController
} }
$content = $model->getContent(); $content = $model->getContent();
$this->meta_title = $model->metaTags->title; $this->meta_title = $model->metaTags->title . ' - ' . \Yii::$app->params['name'];
$this->meta_description = $model->metaTags->description; $this->meta_description = $model->metaTags->description;
$this->meta_keywords = $model->metaTags->keywords; $this->meta_keywords = $model->metaTags->keywords;
......
<?php <?php
return [ return [
'adminEmail' => 'admin@example.com', 'adminEmail' => 'admin@example.com',
'name' => 'Арт Проект',
]; ];
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment