From: Marcel Werk Date: Sun, 8 Jan 2017 17:36:56 +0000 (+0100) Subject: Fixed option to disable page title on landing page (title-tag) X-Git-Tag: 3.0.0~16^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=abb92d5aeee0748c7c44df56fcbc5dce51b02ad5;p=GitHub%2FWoltLab%2FWCF.git Fixed option to disable page title on landing page (title-tag) --- diff --git a/com.woltlab.wcf/templates/header.tpl b/com.woltlab.wcf/templates/header.tpl index 7869e9e309..b23cac735c 100644 --- a/com.woltlab.wcf/templates/header.tpl +++ b/com.woltlab.wcf/templates/header.tpl @@ -3,7 +3,7 @@ {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}