Skip to content

Commit e31da44

Browse files
committedApr 8, 2020
Added children loop to menu links
1 parent 05220f2 commit e31da44

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎templates/Includes/MenuLink.ss

+9
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@
22
<a href="{$LinkURL}"{$TargetAttr}{$ClassAttr}>
33
{$Title}
44
</a>
5+
<% if Children %>
6+
<ul>
7+
<% loop Children %>
8+
<li>
9+
{$Me}
10+
</li>
11+
<% end_loop %>
12+
</ul>
13+
<% end_if %>
514
<% end_if %>

0 commit comments

Comments
 (0)
Please sign in to comment.