From: Marcel Werk Date: Thu, 23 Jun 2016 16:09:16 +0000 (+0200) Subject: Fixed duplicate link rel="canonical" tags X-Git-Tag: 3.0.0_Beta_1~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a3c2a63c644f1e4edca97708aa32bbe0fa6e532;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Fixed duplicate link rel="canonical" tags --- diff --git a/files/lib/page/LegalNoticePage.class.php b/files/lib/page/LegalNoticePage.class.php index 90b7c6b..a1880b7 100644 --- a/files/lib/page/LegalNoticePage.class.php +++ b/files/lib/page/LegalNoticePage.class.php @@ -1,5 +1,6 @@ canonicalURL = LinkHandler::getInstance()->getLink('LegalNotice'); + } /** * @inheritDoc diff --git a/templates/legalNotice.tpl b/templates/legalNotice.tpl index e3f126a..a965974 100644 --- a/templates/legalNotice.tpl +++ b/templates/legalNotice.tpl @@ -1,9 +1,5 @@ {capture assign='contentDescription'}{lang}wcf.legalNotice.description{/lang}{/capture} -{capture assign='headContent'} - -{/capture} - {include file='header'}