<?php
/**
 * @var $this \yii\web\View
 */
$theme = $this->theme;
$this->beginPage();
\app\web\themes\royal\ThemeAssets::register($this);
?>
<!doctype html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
		<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
        <title><?= $this->title ?></title>
        <?= $this->head() ?>
    </head>
    <body class="<?= \Yii::$app->request->url != '/' ? 'body2' : 'page' ?>">
    <?= $this->render('_navigation') ?>
	<?php $this->beginBody() ?>

    <?php if (Yii::$app->request->url != '/'): ?>
    <div class="content">
        <div class="con_info">
            <?php endif; ?>
            <?= $content ?>
            <?php if (!in_array(Yii::$app->request->url, ['/', '/page/creators', '/news'])): ?>
            <?= \app\modules\cms\widgets\Feedback::widget() ?>
        </div>
    </div>
    <?php endif; ?>

    <?php $this->endBody() ?>
    </body>
    </html>
<?php $this->endPage() ?>