You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
878 B

<?php
use app\components\widgets\Alert;
use yii\widgets\Breadcrumbs;
/**
* @var $this \yii\web\View
* @var $content string
*/
$this->title = Yii::$app->settings->data['system']['meta_title'];
?>
<?php $this->beginContent('@app/themes/sport/template/layouts/main.php') ?>
<div class="row">
<div class="col-md-12">
<!-- BREADCRUMBS -->
<div class="breadcrumb_wrap">
<?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]) ?>
</div>
<?= Alert::widget() ?>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<?= \app\modules\blog\widgets\LastPostsWidget::widget([
'limit' => 3,
]) ?>
</div>
<div class="col-sm-8">
<?= $content ?>
</div>
</div>
<?php $this->endContent() ?>