_layouts/page.html in jekyll-docs-theme-1.0.0.pre.beta.2 vs _layouts/page.html in jekyll-docs-theme-1.0.0.pre.beta.3

- old
+ new

@@ -17,43 +17,24 @@ > <span aria-hidden="true" data-role="toggle">Hide</span> </button> </div> - {% include jekyll-docs-theme/vendor/toc.html - html=content + {% include jekyll-docs-theme/toc.html class="js-toc.mb-0.mt-2" id="mobileTOC" - h_max=3 %} </section> <section class="scope-markdown"> - {% unless page.disable_anchors %} - {% include jekyll-docs-theme/vendor/anchor_headings.html - html=content - anchorBody="#" - anchorClass="heading-anchor" - %} - {% else %} - {{ content }} - {% endunless %} + {% include jekyll-docs-theme/anchor_headings.html %} </section> </main> <aside class="col-md-3 layout-page__sidebar d-none d-md-block hidden-print"> - <nav id="page-toc" class="page-sidebar"> - {% include jekyll-docs-theme/vendor/toc.html - html=content - class="list-unstyled.pl-0" - anchor_class="nav-link.px-3.py-1" - h_max=3 - %} - - <a class="px-3 text-muted" href="#top"> - <small>Back to top</small> - </a> - </nav> + {% include sidebar/content-pre.html %} + {% include sidebar/content.html %} + {% include sidebar/content-pre.html %} </aside> </div> {% include disqus.html %} </div>