Commit 22a6a35a241b34f17936b1f32bcdaab1a86f7feb
1 parent
5b35410a
seo3
Showing
2 changed files
with
6 additions
and
2 deletions
Show diff stats
common/messages/ru/app.php
frontend/views/site/about.php
... | ... | @@ -9,7 +9,8 @@ |
9 | 9 | * @var SeoComponent $seo |
10 | 10 | */ |
11 | 11 | $seo = \Yii::$app->get('seo'); |
12 | - $this->params[ 'breadcrumbs' ][] = $seo->title; | |
12 | + $this->title = \Yii::t('app', 'About us'); | |
13 | + $this->params[ 'breadcrumbs' ][] = isset($seo->title)?$seo->title:$this->title; | |
13 | 14 | ?> |
14 | 15 | <div class="container"> |
15 | 16 | <section> | ... | ... |