aboutsummaryrefslogtreecommitdiffstats
path: root/core/templates/layout.public.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/layout.public.php')
-rw-r--r--core/templates/layout.public.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index e2ed47d0716..bd46ee4f7fc 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -9,8 +9,9 @@
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<meta charset="utf-8">
<title>
- <?php
- p(!empty($_['application']) ? $_['application'] . ' - ' : '');
+ <?php
+ p(!empty($_['pageTitle']) && $_['pageTitle'] !== $_['application'] ? $_['pageTitle'] . ' - ' : '');
+p(!empty($_['application']) ? $_['application'] . ' - ' : '');
p($theme->getTitle());
?>
</title>