Skip to content

Commit

Permalink
fix has submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
syncall committed Jan 31, 2024
1 parent 6b7b311 commit 38a68cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% assign pages = site.pages | where_exp: 'item', 'item.toc != nil' | sort: 'order' %}
{% for item in pages %}
<li class="subnav__item js-main-nav-item-1-level">
<a href="{{ item.url | relative_url }}" class="{% if item.url == page.url %}subnav__link--current subnav__link--active{% endif %} subnav__link subnav__link--has-submenu js-main-nav-link">{{ item.toc }}</a>
<a href="{{ item.url | relative_url }}" class="{% if item.url == page.url %}subnav__link--current subnav__link--active{% endif %} subnav__link js-main-nav-link">{{ item.toc }}</a>
</li>
{%- endfor -%}
</ul>
Expand Down

0 comments on commit 38a68cc

Please sign in to comment.