sidebar.html 1.0 KB

1234567891011121314151617
  1. {% assign breakpoint = include.breakpoint | default: 'lg' %}
  2. <aside class="navbar navbar-vertical{% if include.right %} navbar-right{% endif %} navbar-expand-{{ breakpoint }}{% if include.transparent %} navbar-transparent{% endif %}{% if include.background %} bg-{{ include.background }}{% endif %}{% if include.class %} {{ include.class }}{% endif %}"{% if include.background-color %} style="background: {{ include.background-color }}"{% endif %}{% if include.dark %} data-bs-theme="dark"{% endif %}>
  3. <div class="container-fluid">
  4. {% include layout/navbar-toggler.html target="sidebar-menu" %}
  5. {% unless include.hide-brand %}
  6. {% include layout/navbar-logo.html breakpoint=breakpoint header=true %}
  7. {% endunless %}
  8. {% include layout/navbar-side.html class="d-lg-none" hide-username=include.hide-username person-id=include.person-id breakpoint=breakpoint %}
  9. <div class="collapse navbar-collapse" id="sidebar-menu">
  10. {% include layout/navbar-menu.html auto-open=true class="pt-lg-3" keep-open=true %}
  11. </div>
  12. </div>
  13. </aside>