From: Alexander Ebert Date: Sun, 22 Dec 2019 16:50:01 +0000 (+0100) Subject: Never set `nofollow` for external links in menus X-Git-Tag: 5.2.0~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca47cee0fe14d95da4d3e15e46ca53f05c02a2ba;p=GitHub%2FWoltLab%2FWCF.git Never set `nofollow` for external links in menus --- diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl index e3db63dc83..fcc255f6b0 100644 --- a/com.woltlab.wcf/templates/__menu.tpl +++ b/com.woltlab.wcf/templates/__menu.tpl @@ -4,7 +4,7 @@ {foreach from=$menuItemNodeList item=menuItemNode}
  • - isExternalLink()}{if EXTERNAL_LINK_REL_NOFOLLOW} rel="nofollow"{/if}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}> + isExternalLink()}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}> {$menuItemNode->getTitle()} {if $menuItemNode->getOutstandingItems() > 0} {#$menuItemNode->getOutstandingItems()}