mirror of https://github.com/tdwg/dwc.git
Try adding a TOC sidebar
This commit is contained in:
parent
d57c6664db
commit
41d35cc27a
|
@ -6,7 +6,21 @@
|
|||
{% include navbar.html %}
|
||||
|
||||
<main class="container-fluid">
|
||||
{{ content }}
|
||||
<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">
|
||||
<i class="fa fa-bars fa-lg"></i>
|
||||
</button>
|
||||
|
||||
<nav class="collapse" id="theme-sidebar-nav">
|
||||
{% include toc.html html=content class="nav.flex-column" item_class="nav-item" %}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-9 order-md-1">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% include footer.html %}
|
||||
|
|
Loading…
Reference in New Issue