Merge pull request #4642 from hailwood/patch-1

DOCS Remove extra set of li's
This commit is contained in:
Daniel Hensby 2015-10-03 10:28:50 +01:00
commit fa878b1e1f

View File

@ -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)