|
|
|
@ -7,8 +7,8 @@ use yii\helpers\Html;
|
|
|
|
|
|
|
|
|
|
$this->title = $page->getSeoTitle(); |
|
|
|
|
|
|
|
|
|
$this->registerMetaTag(['name' => 'description', 'content' => $page->meta->description]); |
|
|
|
|
$this->registerMetaTag(['name' => 'keywords', 'content' => $page->meta->keywords]); |
|
|
|
|
$this->registerMetaTag(['name' => 'description', 'content' => $page->translation->meta_description]); |
|
|
|
|
$this->registerMetaTag(['name' => 'keywords', 'content' => $page->translation->meta_keywords]); |
|
|
|
|
|
|
|
|
|
foreach ($page->parents as $parent) { |
|
|
|
|
if (!$parent->isRoot()) { |
|
|
|
|