Commit ae650ac42a8de14a1ef966c464646ad66b3f63d4

Authored by Timur Kastemirov
1 parent 22a6a35a

seo4

frontend/views/site/about.php
@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 */ 10 */
11 $seo = \Yii::$app->get('seo'); 11 $seo = \Yii::$app->get('seo');
12 $this->title = \Yii::t('app', 'About us'); 12 $this->title = \Yii::t('app', 'About us');
  13 + $this->params['title'] = $this->title;
13 $this->params[ 'breadcrumbs' ][] = isset($seo->title)?$seo->title:$this->title; 14 $this->params[ 'breadcrumbs' ][] = isset($seo->title)?$seo->title:$this->title;
14 ?> 15 ?>
15 <div class="container"> 16 <div class="container">
frontend/views/site/contact.php
@@ -16,6 +16,7 @@ @@ -16,6 +16,7 @@
16 $settings = Settings::getInstance(); 16 $settings = Settings::getInstance();
17 17
18 $this->title = \Yii::t('app', 'Contact'); 18 $this->title = \Yii::t('app', 'Contact');
  19 + $this->params['title'] = $this->title;
19 $this->params[ 'breadcrumbs' ][] = $this->title; 20 $this->params[ 'breadcrumbs' ][] = $this->title;
20 21
21 $js = <<< JS 22 $js = <<< JS