Skip to content

Commit

Permalink
fix #808 - fix navbar-menu and sidebar-menu has the same id
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Oct 28, 2022
1 parent 911e687 commit 52fb5d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/_includes/layout/sidebar.html
Expand Up @@ -2,15 +2,15 @@

<aside class="navbar navbar-vertical{% if include.right %} navbar-right{% endif %} navbar-expand-{{ breakpoint }}{% if include.transparent %} navbar-transparent{% else %}{% if include.dark %} navbar-dark{% else %} navbar-light{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% endif %}{% if include.class %} {{ include.class }}{% endif %}"{% if include.background-color %} style="background: {{ include.background-color }}"{% endif %}>
<div class="container-fluid">
{% include layout/navbar-toggler.html target="navbar-menu" %}
{% include layout/navbar-toggler.html target="sidebar-menu" %}

{% unless include.hide-brand %}
{% include layout/navbar-logo.html dark=include.dark breakpoint=breakpoint header=true %}
{% endunless %}

{% include layout/navbar-side.html class="d-lg-none" hide-username=include.hide-username person-id=include.person-id breakpoint=breakpoint %}

<div class="collapse navbar-collapse" id="navbar-menu">
<div class="collapse navbar-collapse" id="sidebar-menu">
{% include layout/navbar-menu.html auto-open=true class="pt-lg-3" keep-open=true %}
</div>
</div>
Expand Down

0 comments on commit 52fb5d8

Please sign in to comment.