silverstripe-simple/templates/Includes/Navigation.ss
Simon Welsh d3f9781866 Updates templates to more SS3-ready syntax
- Use $Name in if/loop
- Replace instances of control with loop
2012-10-27 16:15:51 +13:00

9 lines
209 B
Scheme

<nav class="primary">
<span class="nav-open-button">²</span>
<ul>
<% loop $Menu(1) %>
<li class="$LinkingMode"><a href="$Link" title="$Title.XML">$MenuTitle.XML</a></li>
<% end_loop %>
</ul>
</nav>