silverstripe-simple/templates/Includes/SideBar.ss
2013-01-23 10:37:49 +13:00

15 lines
242 B
Scheme

<aside class="sidebar unit size1of4">
<% if $Menu(2) %>
<nav class="secondary">
<% with $Level(1) %>
<h3>
$MenuTitle
</h3>
<ul>
<% include SidebarMenu %>
</ul>
<% end_with %>
</nav>
<% end_if %>
</aside>