mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
27 lines
706 B
Scheme
27 lines
706 B
Scheme
|
<a
|
||
|
href="{$Link}"
|
||
|
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 %>
|
||
|
<i class="fa-icon $BlockIcon"></i>
|
||
|
<% end_if %>
|
||
|
$MenuTitle.XML
|
||
|
<% if $isCurrent || $isSection %><i class="visually-hidden">(current)</i><% end_if %>
|
||
|
</a>
|