Blame view

frontend/views/layouts/main.php 940 Bytes
d8c1a2e0   Yarik   Big commit artbox
1
  <?php
36d1807a   Yarik   Big commit.
2
3
      /**
       * @var \yii\web\View $this
cc658b4c   Yarik   Big commit
4
       * @var string        $content
36d1807a   Yarik   Big commit.
5
       */
d8c1a2e0   Yarik   Big commit artbox
6
7
      use yii\helpers\Html;
      use frontend\assets\AppAsset;
d8c1a2e0   Yarik   Big commit artbox
8
      use yii\widgets\Breadcrumbs;
d55d2fe0   Yarik   Multilanguage
9
      
c0c8b24e   Yarik   Robots, image hin...
10
      $this->registerMetaTag([
d55d2fe0   Yarik   Multilanguage
11
          'name'    => 'robots',
c0c8b24e   Yarik   Robots, image hin...
12
13
          'content' => 'noindex, nofollow',
      ]);
d8c1a2e0   Yarik   Big commit artbox
14
      AppAsset::register($this);
d8c1a2e0   Yarik   Big commit artbox
15
16
17
18
19
20
21
22
23
24
25
26
27
  ?>
  <?php $this->beginPage() ?>
  <!DOCTYPE html>
  <html lang="<?= Yii::$app->language ?>">
  <head>
      <meta charset="<?= Yii::$app->charset ?>">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <?= Html::csrfMetaTags() ?>
      <title><?= Html::encode($this->title) ?></title>
      <?php $this->head() ?>
  </head>
  <body>
  <?php $this->beginBody() ?>
d8c1a2e0   Yarik   Big commit artbox
28
  <?php
5c2eb7c8   Yarik   Big commit almost...
29
30
      echo Breadcrumbs::widget([
          'links' => isset( $this->params[ 'breadcrumbs' ] ) ? $this->params[ 'breadcrumbs' ] : [],
d8c1a2e0   Yarik   Big commit artbox
31
32
      ]);
  ?>
5c2eb7c8   Yarik   Big commit almost...
33
34
35
  <?php
      echo $content;
  ?>
d8c1a2e0   Yarik   Big commit artbox
36
37
38
39
  <?php $this->endBody() ?>
  </body>
  </html>
  <?php $this->endPage() ?>