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