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