From abb92d5aeee0748c7c44df56fcbc5dce51b02ad5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 8 Jan 2017 18:36:56 +0100 Subject: [PATCH] Fixed option to disable page title on landing page (title-tag) --- com.woltlab.wcf/templates/header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.20.1