Skip to content

Commit 4e37f0a

Browse files
committed
fix the display of the html page title
1 parent 9c5931d commit 4e37f0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Views/Shared/layout.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
6-
<title>DevNet - <?= $this->ViewData['Title'] ?? null ?></title>
6+
<title>DevNet<?= isset($this->ViewData['Title']) ? " - " . $this->ViewData['Title'] : null ?></title>
77
<!-- styles -->
88
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
9+
<link rel="stylesheet" href="/css/style.css">
910
</head>
1011
<body>
1112
<header>
@@ -16,6 +17,7 @@
1617
</main>
1718
<!-- scripts -->
1819
<script src="/lib/bootstrap/js/bootstrap.bundle.min.js"></script>
20+
<script src="/js/script.js"></script>
1921
<? $this->renderSection('scripts') ?>
2022
</body>
2123
</html>

0 commit comments

Comments
 (0)