Commit 7fc91ad747d0bf3773f721d64ed763e87b8e5d0c

Authored by alex
1 parent 08a354ab

закрыл сайт в noindex nofollow

Showing 1 changed file with 12 additions and 10 deletions   Show diff stats
frontend/views/layouts/main.php
@@ -67,8 +67,8 @@ @@ -67,8 +67,8 @@
67 $this->registerMetaTag( 67 $this->registerMetaTag(
68 [ 68 [
69 'name' => 'robots', 69 'name' => 'robots',
70 - 'content' => $seo->robots,  
71 - // 'content' => 'noindex,nofollow', 70 +// 'content' => $seo->robots,
  71 + 'content' => 'noindex,nofollow',
72 ] 72 ]
73 ); 73 );
74 $module = \Yii::$app->getModule('feedback'); 74 $module = \Yii::$app->getModule('feedback');
@@ -315,7 +315,7 @@ @@ -315,7 +315,7 @@
315 </div> 315 </div>
316 </header> 316 </header>
317 317
318 - <!-- #content должен быть в main.php --> 318 + <?php #content должен быть в main.php ?>
319 <div id="content_" class="section-box-content"> 319 <div id="content_" class="section-box-content">
320 <!-- start breadcrumbs --> 320 <!-- start breadcrumbs -->
321 <?php if (!empty($this->params['breadcrumbs'])) {?> 321 <?php if (!empty($this->params['breadcrumbs'])) {?>
@@ -330,12 +330,14 @@ @@ -330,12 +330,14 @@
330 </div> 330 </div>
331 </section> 331 </section>
332 <?php }?> 332 <?php }?>
333 - <!-- если не главная выводить сюда-->  
334 - <!-- end breadcrumbs -->  
335 -  
336 - <!-- start content --> 333 + <?php #если не главная выводить сюда
  334 + # end breadcrumbs ?>
  335 +
  336 + <?php #start content ?>
  337 +
337 <?= $content ?> 338 <?= $content ?>
338 - <!-- end content --> 339 + <?php # end content ?>
  340 +
339 341
340 <div class="section-box-6"> 342 <div class="section-box-6">
341 <div class="container"> 343 <div class="container">
@@ -524,8 +526,8 @@ @@ -524,8 +526,8 @@
524 <div class="txt-success"><span><?=\Yii::t('app','Thanks for request')?></span> 526 <div class="txt-success"><span><?=\Yii::t('app','Thanks for request')?></span>
525 <p><?=Yii::t('app','We`ll call you later')?>.</p></div> 527 <p><?=Yii::t('app','We`ll call you later')?>.</p></div>
526 </div> 528 </div>
527 -  
528 - <!-- выводить если главная страница --> 529 + <?php # выводить если главная страница ?>
  530 +
529 531
530 <?php $this->endBody() ?> 532 <?php $this->endBody() ?>
531 </body> 533 </body>