Register meta tags with a method that works well with page cache
This commit is contained in:
parent
dafe5f6aff
commit
561b98a039
@ -19,7 +19,7 @@ AppAsset::register($this);
|
|||||||
<meta charset="<?= Yii::$app->charset ?>">
|
<meta charset="<?= Yii::$app->charset ?>">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<?= Html::csrfMetaTags() ?>
|
<?php $this->registerCsrfMetaTags() ?>
|
||||||
<title><?= Html::encode($this->title) ?></title>
|
<title><?= Html::encode($this->title) ?></title>
|
||||||
<?php $this->head() ?>
|
<?php $this->head() ?>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user