diff options
| author | Mark Otto <[email protected]> | 2017-05-31 21:29:23 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-31 21:29:23 -0700 |
| commit | f13eb5194019b460eb01cdb251c81c76b2e7d5d0 (patch) | |
| tree | 178410fd574e52b9a0850273dacea566efa2aef0 /_layouts | |
| parent | 8a6642bbff3b86a24fc47cad42f5a23af80f057a (diff) | |
| parent | 620257456ed0685cae6b6ff51d2ab1e37f02a4fa (diff) | |
| download | bootstrap-f13eb5194019b460eb01cdb251c81c76b2e7d5d0.tar.xz bootstrap-f13eb5194019b460eb01cdb251c81c76b2e7d5d0.zip | |
Merge branch 'v4-dev' into form-tweaks
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 22 | ||||
| -rw-r--r-- | _layouts/docs.html | 37 | ||||
| -rw-r--r-- | _layouts/home.html | 20 | ||||
| -rw-r--r-- | _layouts/simple.html | 17 |
4 files changed, 96 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 000000000..0292da9fd --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,22 @@ +<!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 docs-navbar.html %} + + <main id="content" role="main"> + {{ content }} + </main> + + {% include footer.html %} + {% include scripts.html %} + </body> +</html> diff --git a/_layouts/docs.html b/_layouts/docs.html new file mode 100644 index 000000000..feecf3875 --- /dev/null +++ b/_layouts/docs.html @@ -0,0 +1,37 @@ +<!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 docs-navbar.html %} + + <div class="container-fluid"> + <div class="row flex-xl-nowrap"> + <div class="col-12 col-md-3 col-xl-2 bd-sidebar"> + {% include docs-sidebar.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> + + {% include scripts.html %} + </body> +</html> diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 000000000..6405134e2 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + {% include header.html %} + </head> + <body class="bd-home"> + <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 docs-navbar.html %} + + {{ content }} + + {% include footer.html %} + {% include scripts.html %} + </body> +</html> diff --git a/_layouts/simple.html b/_layouts/simple.html new file mode 100644 index 000000000..bb35ec792 --- /dev/null +++ b/_layouts/simple.html @@ -0,0 +1,17 @@ +--- +layout: default +--- + +<div class="bd-pageheader text-center text-sm-left"> + <div class="container"> + <h1>{{ page.title }}</h1> + <p class="lead"> + Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts. + </p> + {% include ads.html %} + </div> +</div> + +<div class="container bd-content"> + {{ content }} +</div> |
