Never set `nofollow` for external links in menus
authorAlexander Ebert <ebert@woltlab.com>
Sun, 22 Dec 2019 16:50:01 +0000 (17:50 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 22 Dec 2019 16:50:01 +0000 (17:50 +0100)
com.woltlab.wcf/templates/__menu.tpl

index e3db63dc83f34e9c6db6f6f49470798fe2ef34bd..fcc255f6b04d71d9f7b2663f36ec34f2c1124671 100644 (file)
@@ -4,7 +4,7 @@
                
                {foreach from=$menuItemNodeList item=menuItemNode}
                        <li class="{if $menuItemNode->isActiveNode()}active{/if}{if $menuItemNode->hasChildren()} boxMenuHasChildren{/if}" data-identifier="{@$menuItemNode->identifier}">
-                               <a href="{$menuItemNode->getURL()}" class="boxMenuLink"{if $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}>
+                               <a href="{$menuItemNode->getURL()}" class="boxMenuLink"{if $menuItemNode->isExternalLink()}{if EXTERNAL_LINK_TARGET_BLANK} target="_blank"{/if}{/if}{if $menuItemNode->isActiveNode()} aria-current="page"{/if}>
                                        <span class="boxMenuLinkTitle">{$menuItemNode->getTitle()}</span>
                                        {if $menuItemNode->getOutstandingItems() > 0}
                                                <span class="boxMenuLinkOutstandingItems badge badgeUpdate" aria-label="{lang}wcf.page.menu.outstandingItems{/lang}">{#$menuItemNode->getOutstandingItems()}</span>