Use container-fluid, with option to set container fixed

This commit is contained in:
Peter Desmet 2018-10-08 10:31:13 +02:00
parent 357d4a0335
commit 435faffb3b
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<body data-spy="scroll" data-target="#theme-sidebar-nav">
{% include navbar.html %}
<main class="container">
<main class="{% if page.container == 'fixed' %}container{% else %}container-fluid{% endif %}">
<div class="row">
<div class="col-12 col-md-3 order-md-2 theme-sidebar-primary">
<button class="btn d-md-none w-100" type="button" data-toggle="collapse" data-target="#theme-sidebar-nav">

View File

@ -1 +1,5 @@
---
container: fixed
---
Homepage