demo-layout.html 928 B

12345678910111213141516171819
  1. {% assign config = include.config %}
  2. <div class="border rounded w-8 h-7 bg-light shadow-sm mx-auto d-flex flex-column">
  3. <div class="row row-0 flex-fill">
  4. {% if config.sidebar %}
  5. <div class="{% if config.sidebar-narrow %}col-auto w-2{% else %}col-3{% endif %} {% if config.sidebar-dark %}bg-dark{% else %}border-end bg-white{% endif %}"></div>
  6. {% endif %}
  7. <div class="col">
  8. {% unless config.hide-topnav %}
  9. <div class="h-2 {% if config.topnav-dark %}bg-dark{% else %}border-bottom bg-white{% endif %}"></div>
  10. {% endunless %}
  11. {% if config.topmenu %}
  12. <div class="h-2 {% if config.topmenu-dark %}bg-dark{% else %}border-bottom bg-white{% endif %}"></div>
  13. {% endif %}
  14. </div>
  15. {% if config.sidebar-right %}
  16. <div class="{% if config.sidebar-narrow %}col-auto w-2{% else %}col-3{% endif %} {% if config.sidebar-dark %}bg-dark{% else %}border-start bg-white{% endif %}"></div>
  17. {% endif %}
  18. </div>
  19. </div>