projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64c893
)
Fixed option to disable page title on landing page (title-tag)
author
Marcel Werk
<burntime@woltlab.com>
Sun, 8 Jan 2017 17:36:56 +0000
(18:36 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Sun, 8 Jan 2017 17:36:56 +0000
(18:36 +0100)
com.woltlab.wcf/templates/header.tpl
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/templates/header.tpl
b/com.woltlab.wcf/templates/header.tpl
index 7869e9e309354b12523f5e9e2c50dc618a5c116c..b23cac735cd6509567d9a4b9456224e71e1c0a09 100644
(file)
--- a/
com.woltlab.wcf/templates/header.tpl
+++ b/
com.woltlab.wcf/templates/header.tpl
@@
-3,7
+3,7
@@
<head>
{if !$pageTitle|isset}
{assign var='pageTitle' value=''}
- {if
!$__wcf->isLandingPage(
) && $__wcf->getActivePage() != null && $__wcf->getActivePage()->getTitle()}
+ {if
(!$__wcf->isLandingPage() || !USE_PAGE_TITLE_ON_LANDING_PAGE
) && $__wcf->getActivePage() != null && $__wcf->getActivePage()->getTitle()}
{capture assign='pageTitle'}{$__wcf->getActivePage()->getTitle()}{/capture}
{/if}
{/if}