aboutsummaryrefslogtreecommitdiff
path: root/_layouts/docs.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-05-28 22:50:57 -0700
committerMark Otto <[email protected]>2017-05-29 23:32:28 -0700
commit3e76d6565603fafa2c85ad81d7b6345c4e279c72 (patch)
treefad0aa6a4a70cafb4a803bd920d6ae2fa44dc466 /_layouts/docs.html
parent32153eb7cba316b873e82cd7b9362c92ca00eddf (diff)
downloadbootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.tar.xz
bootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.zip
Rearrange all the docs to allow for a docs/major.minor/ setup
Diffstat (limited to '_layouts/docs.html')
-rw-r--r--_layouts/docs.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/_layouts/docs.html b/_layouts/docs.html
new file mode 100644
index 000000000..7bbb06b87
--- /dev/null
+++ b/_layouts/docs.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {% include header.html %}
+ </head>
+ <body class="bd-docs" data-spy="scroll" data-target=".bd-sidenav-active">
+ <a id="skippy" class="sr-only sr-only-focusable" href="#content">
+ <div class="container">
+ <span class="skiplink-text">Skip to main content</span>
+ </div>
+ </a>
+
+ {% include nav-home.html %}
+
+ <div class="container-fluid">
+ <div class="row flex-xl-nowrap">
+ <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-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>
+ </body>
+</html>