Commit 1a64d964559ed1266a9380a7fee22eabdf2763fd

Authored by alex
1 parent 98fdd974

тест микроразметки прошел хорошо , ошибок нет, + правка по description в шапке

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -116,12 +116,12 @@ $this->registerMetaTag(
116 116 'content' =>$seo->title,
117 117 ]
118 118 );
  119 +
119 120 $this->registerMetaTag(
120   - [
121   - 'name' => 'description',
122   - 'property'=>"og:image",
123   - 'content' => \Yii::$app->homeUrl."/storage/logo/".$settings->logo,
124   - ]
  121 + [
  122 + 'name' => 'description',
  123 + 'content' => $seo->desc,
  124 + ]
125 125 );
126 126  
127 127 //----------------------------------------------------------------------------------------------------------------------
... ...