mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
12 lines
508 B
Scheme
12 lines
508 B
Scheme
<a
|
|
class="nav-item-link <% if $LinkClass %>{$LinkClass}<% else %>nav-link<% end_if %><% if $RedirectionType = 'External' || $ExternalURL || $OpenInNewWindow %> external<% end_if %>" href="{$Link}"
|
|
<% if $RedirectionType = 'External' || $OpenInNewWindow %> 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="sr-only">(current)</i><% end_if %>
|
|
</a>
|