RVRNEXT-11 add custom title for main layout
This commit is contained in:
parent
c53b8bfe13
commit
b34878ea35
@ -5,7 +5,7 @@
|
|||||||
<meta name="description" content="<?= $_ENV['APP_NAME'] ?>">
|
<meta name="description" content="<?= $_ENV['APP_NAME'] ?>">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="theme-color" content="#212f4d">
|
<meta name="theme-color" content="#212f4d">
|
||||||
<title><?= $_ENV['APP_NAME'] ?></title>
|
<title><?= isset($title) ? $title . ' – ' : '' ?><?= $_ENV['APP_NAME'] ?></title>
|
||||||
<?php if (preg_match('/^(http(s)?:)?\/\//', $_ENV['STATIC_ROOT']) === 1): ?>
|
<?php if (preg_match('/^(http(s)?:)?\/\//', $_ENV['STATIC_ROOT']) === 1): ?>
|
||||||
<link href="<?= $_ENV['STATIC_ROOT'] ?>" rel="preconnect">
|
<link href="<?= $_ENV['STATIC_ROOT'] ?>" rel="preconnect">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user