projects
/
mdref
/
mdref
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
20206b5
)
simplify
author
Michael Wallner
<mike@php.net>
Fri, 20 Dec 2013 15:15:04 +0000
(16:15 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 20 Dec 2013 15:15:04 +0000
(16:15 +0100)
views/layout.phtml
patch
|
blob
|
history
diff --git
a/views/layout.phtml
b/views/layout.phtml
index 43463ca9f7a5c61328870298921972cceeb76395..3bd409c8dff46595a13aba2a4dc2fdef9ac295ba 100644
(file)
--- a/
views/layout.phtml
+++ b/
views/layout.phtml
@@
-3,11
+3,10
@@
<head>
<meta charset="utf-8">
<title>
- <?php if ($title) : ?>
- <?= $title ?> - mdref
- <?php else: ?>
- mdref
+ <?php if (!empty($title)) : ?>
+ <?= $title ?> -
<?php endif; ?>
+ mdref
</title>
<base href="<?= $baseUrl ?>">
<link rel="stylesheet" href="index.css">