From ca47cee0fe14d95da4d3e15e46ca53f05c02a2ba Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 22 Dec 2019 17:50:01 +0100 Subject: [PATCH] Never set `nofollow` for external links in menus --- com.woltlab.wcf/templates/__menu.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()} -- 2.20.1