FIX: NavItem_link

This commit is contained in:
Tony Air 2022-12-29 19:49:25 +02:00
parent ce01c06af4
commit 3b4508419f
1 changed files with 16 additions and 2 deletions

View File

@ -1,7 +1,21 @@
<a
class="nav-link graphql-page $ExtraClass <% if $LinkClass %>{$LinkClass}<% else %>nav-link<% end_if %><% if $RedirectionType = 'External' || $ExternalURL || $OpenInNewWindow %> external<% end_if %><% if $isCurrent || $isSection %> active <% end_if %><% if $isSection %> section<% end_if %>"
href="{$Link}"
<% if $RedirectionType = 'External' || $OpenInNewWindow %>rel="noreferrer" target="_blank"<% end_if %>
class="
nav-link
graphql-page
$ExtraClass
{$LinkClass}
<% if $RedirectionType = 'External' || $ExternalURL || $OpenInNewWindow %>
external
<% end_if %>
<% if $isCurrent || $isSection %>active <% end_if %>
<% if $isSection %>section<% end_if %>
"
<% if $RedirectionType = 'External' || $OpenInNewWindow %>
rel="noreferrer"
target="_blank"
<% end_if %>
data-text="{$MenuTitle.XML}"
>
<% if $BlockIcon %>