2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

swap kramdown toc for jekyll-toc plugin, update page layout to only show on xl and above

This commit is contained in:
Mark Otto
2017-05-27 21:44:42 -07:00
parent 3b8202db93
commit a3f7639728
7 changed files with 51 additions and 51 deletions
+7 -1
View File
@@ -17,12 +17,18 @@
<div class="col-12 col-md-3 col-xl-2 bd-sidebar">
{% include nav-docs.html %}
</div>
<main class="col-12 col-md-9 col-xl-auto py-md-3 pl-md-5 bd-content" role="main">
<main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
<h1 class="bd-title" id="content">{{ page.title }}</h1>
<p class="bd-lead">{{ page.description }}</p>
{% include ads.html %}
{{ content }}
</main>
{% if page.toc %}
<div class="d-none d-xl-block col-xl-2 bd-toc">
{{ content | toc_only }}
</div>
{% endif %}
</div>
</div>