Skip to content

Commit

Permalink
Added children loop to menu links
Browse files Browse the repository at this point in the history
  • Loading branch information
gorriecoe committed Apr 8, 2020
1 parent 05220f2 commit e31da44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/Includes/MenuLink.ss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@
<a href="{$LinkURL}"{$TargetAttr}{$ClassAttr}>
{$Title}
</a>
<% if Children %>
<ul>
<% loop Children %>
<li>
{$Me}
</li>
<% end_loop %>
</ul>
<% end_if %>
<% end_if %>

0 comments on commit e31da44

Please sign in to comment.