Skip to content

Commit

Permalink
remove toggle button for secondary sidebar if empty (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 authored Jan 18, 2024
1 parent 5fc1452 commit cfd3cb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</div>
{% endfor %}

{% if not remove_sidebar_secondary %}
{% if not remove_sidebar_secondary and secondary_sidebar_items %}
<label class="sidebar-toggle secondary-toggle" for="__secondary" tabindex="0">
<span class="fa-solid fa-outdent"></span>
</label>
Expand Down

0 comments on commit cfd3cb5

Please sign in to comment.