2023-10-24 23:26:22 +02:00
|
|
|
<a
|
|
|
|
href="{$Link}"
|
|
|
|
class="
|
|
|
|
nav-link
|
|
|
|
graphql-page
|
|
|
|
$ExtraClass
|
|
|
|
{$LinkClass}
|
2024-04-30 22:25:08 +02:00
|
|
|
<% if $ClassName = 'SilverStripe\CMS\Model\RedirectorPage' || $RedirectionType = 'External' || $ExternalURL || $OpenInNewWindow || $OpenInNewTab %>
|
2023-12-13 00:16:35 +01:00
|
|
|
legacy
|
2023-10-24 23:26:22 +02:00
|
|
|
<% end_if %>
|
2023-12-13 00:16:35 +01:00
|
|
|
<% if $isCurrent || $isSection %>active<% end_if %>
|
2023-10-24 23:26:22 +02:00
|
|
|
<% if $isSection %>section<% end_if %>
|
|
|
|
"
|
2024-02-08 10:57:12 +01:00
|
|
|
<% if $OpenInNewWindow || $OpenInNewTab %>
|
2023-10-24 23:26:22 +02:00
|
|
|
rel="noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
data-text="{$MenuTitle.XML}"
|
|
|
|
>
|
2023-12-13 00:16:35 +01:00
|
|
|
<% if $BlockIcon %>
|
|
|
|
<i class="fa-icon $BlockIcon"></i>
|
|
|
|
<% end_if %>
|
2023-10-24 23:26:22 +02:00
|
|
|
$MenuTitle.XML
|
|
|
|
<% if $isCurrent || $isSection %><i class="visually-hidden">(current)</i><% end_if %>
|
|
|
|
</a>
|