在所有页面的标题后面都加入站点名称
This commit is contained in:
parent
83169ab5d5
commit
9e16b46d19
@ -27,7 +27,7 @@ $this->registerCssFile('@web/css/fuckyou-navpadding.css');
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= Yii::$app->language ?>" class="h-100" <?= $darkMode === 1 ? 'data-bs-theme="dark"' : '' ?> >
|
||||
<head>
|
||||
<title><?= Html::encode($this->title) ?></title>
|
||||
<title><?= Html::encode($this->title).' | '.Yii::$app->name ?></title>
|
||||
<?php $this->head() ?>
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
|
@ -24,7 +24,7 @@ $this->registerLinkTag(['rel' => 'icon', 'type' => 'image/x-icon', 'href' => Yii
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= Yii::$app->language ?>" class="h-100">
|
||||
<head>
|
||||
<title><?= Html::encode($this->title) ?></title>
|
||||
<title><?= Html::encode($this->title).' | '.Yii::$app->name ?></title>
|
||||
<?php $this->head() ?>
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
|
@ -26,7 +26,7 @@ $darkMode = Yii::$app->user->isGuest ? 0 : Yii::$app->user->identity->dark_mode;
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= Yii::$app->language ?>" class="h-100" <?= $darkMode===1?'data-bs-theme="dark"':''?> >
|
||||
<head>
|
||||
<title><?= Html::encode($this->title) ?></title>
|
||||
<title><?= Html::encode($this->title).' | '.Yii::$app->name ?></title>
|
||||
<?php $this->head() ?>
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
|
Loading…
Reference in New Issue
Block a user