Skip to content

Commit

Permalink
ENHANCEMENT Using new template syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Mar 15, 2012
1 parent bf2d9cb commit 44cec3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/Includes/Navigation.ss
@@ -1,7 +1,7 @@
<nav class="primary">
<ul>
<% control Menu(1) %>
<% loop Menu(1) %>
<li class="$LinkingMode"><a href="$Link" title="$Title.XML">$MenuTitle.XML</a></li>
<% end_control %>
<% end_loop %>
</ul>
</nav>
8 changes: 4 additions & 4 deletions templates/Includes/SideBar.ss
Expand Up @@ -2,14 +2,14 @@
<% if Menu(2) %>
<nav class="secondary">
<h3>
<% control Level(1) %>
<% loop Level(1) %>
$Title
<% end_control %>
<% end_loop %>
</h3>
<ul>
<% control Menu(2) %>
<% loop Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page"><span class="arrow">&rarr;</span><span class="text">$MenuTitle.XML</span></a></li>
<% end_control %>
<% end_loop %>
</ul>
</nav>
<% end_if %>
Expand Down

0 comments on commit 44cec3d

Please sign in to comment.