Skip to content

Commit

Permalink
fix(includes): add missing LI subitem for nested UL menu
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Mar 25, 2021
1 parent 2d209ee commit 0030396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/menu-accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
<div class="accordion-body">
<ul class="menu menu-nav">
{% for item in entry.submenu %}
{% if forloop.first %} <ul class="menu"> {% endif %}
{% if forloop.first %} <li><ul class="menu"> {% endif %}
<li class="menu-item"><a href="{{entry.url}}{{item.url}}">{{item.label}}</a></li>
{% if forloop.last %} </ul> {% endif %}
{% if forloop.last %} </ul></li> {% endif %}
{% endfor %}
</ul>
</div>
Expand Down

0 comments on commit 0030396

Please sign in to comment.