mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove extra set of li's
This commit is contained in:
parent
a13d7e2b53
commit
5e68512e1c
@ -17,11 +17,11 @@ top level menu with a nested second level using the `Menu` loop and a `Children`
|
||||
|
||||
<% if $LinkOrSection == section %>
|
||||
<% if $Children %>
|
||||
<li><ul class="secondary">
|
||||
<ul class="secondary">
|
||||
<% loop $Children %>
|
||||
<li class="$LinkingMode"><a href="$Link">$MenuTitle</a></li>
|
||||
<% end_loop %>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<% end_if %>
|
||||
<% end_if %>
|
||||
</li>
|
||||
@ -31,4 +31,4 @@ top level menu with a nested second level using the `Menu` loop and a `Children`
|
||||
## Related
|
||||
|
||||
* [Template Syntax](../syntax)
|
||||
* [Common Variables](../common_variables)
|
||||
* [Common Variables](../common_variables)
|
||||
|
Loading…
Reference in New Issue
Block a user