Skip to content

Commit

Permalink
FIX Add exists to menu check in template
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewis-everley committed Nov 12, 2013
1 parent 5e1e109 commit 5c91469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/Includes/CustomMenu.ss
@@ -1,8 +1,8 @@
<% if $Menu %>
<% if $Menu.Exists %>
<ul class="menu-{$Slug}">
<% loop $Menu %>
<li class="menu-{$Slug}-item $LinkingMode $FirstLast">
<a class="menu-{$Slug}-link" href="$Link" title="$Title.XML">$MenuTitle.XML</a>
<li class="menu-{$Slug}-item $LinkingMode $FirstLast">
<a class="menu-{$Slug}-link" href="$Link" title="$Title.XML">$MenuTitle.XML</a>
</li>
<% end_loop %>
</ul>
Expand Down

0 comments on commit 5c91469

Please sign in to comment.