mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-03 08:17:48 +02:00
11 lines
362 B
Scheme
11 lines
362 B
Scheme
<ul class="cms-menu-list">
|
|
<% loop $MainMenu %>
|
|
<li class="$LinkingMode $FirstLast <% if $LinkingMode == 'link' %><% else %>opened<% end_if %>" id="Menu-$Code" title="$Title.ATT">
|
|
<a href="$Link" $AttributesHTML>
|
|
<span class="icon icon-16 icon-{$Code.LowerCase}"> </span>
|
|
<span class="text">$Title</span>
|
|
</a>
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|