diff options
author | Mark Otto <otto@github.com> | 2014-01-01 01:53:33 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2014-01-01 01:53:33 +0400 |
commit | b253cb2c1e34a41940c4933fb95c46da833fc5f9 (patch) | |
tree | e5a40b963eba273c42e4aad21fb3858a657002dd /docs/_layouts | |
parent | 9e1153d0498a9e9612c1db85922642fe2aa38c2a (diff) | |
parent | 8812856de1ce17bb2f482c75370fb2e3db7ac6de (diff) |
Merge branch 'master' into docs_derp
Conflicts:
_config.yml
docs/_includes/footer.html
docs/_includes/nav-main.html
docs/_includes/old-bs-docs.html
docs/_layouts/default.html
docs/_layouts/home.html
docs/getting-started.html
docs/index.html
Diffstat (limited to 'docs/_layouts')
-rw-r--r-- | docs/_layouts/default.html | 54 | ||||
-rw-r--r-- | docs/_layouts/home.html | 19 |
2 files changed, 73 insertions, 0 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html new file mode 100644 index 0000000000..5a8ae85754 --- /dev/null +++ b/docs/_layouts/default.html @@ -0,0 +1,54 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <!-- Meta, title, CSS, favicons, etc. --> + {% include header.html %} + </head> + <body> + <a class="sr-only" href="#content">Skip to main content</a> + + <!-- Docs master nav --> + {% include nav-main.html %} + + <!-- Docs page layout --> + <div class="bs-header" id="content"> + <div class="container"> + <h1>{{ page.title }}</h1> + <p>{{ page.lead }}</p> + {% include ads.html %} + </div> + </div> + + <div class="container bs-docs-container"> + + <div class="row"> + <div class="col-md-9" role="main"> + {{ content }} + </div> + <div class="col-md-3"> + <div class="bs-sidebar hidden-print" role="complementary"> + <ul class="nav bs-sidenav"> + {% if page.slug == "getting-started" %} + {% include nav-getting-started.html %} + {% elsif page.slug == "css" %} + {% include nav-css.html %} + {% elsif page.slug == "components" %} + {% include nav-components.html %} + {% elsif page.slug == "js" %} + {% include nav-javascript.html %} + {% elsif page.slug == "customize" %} + {% include nav-customize.html %} + {% elsif page.slug == "about" %} + {% include nav-about.html %} + {% endif %} + </ul> + </div> + </div> + </div> + + </div> + + <!-- JS and analytics only. --> + {% include footer.html %} + </body> +</html> diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html new file mode 100644 index 0000000000..9020f6384a --- /dev/null +++ b/docs/_layouts/home.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <!-- Meta, title, CSS, favicons, etc. --> + {% include header.html %} + </head> + <body class="bs-docs-home"> + <a class="sr-only" href="#content">Skip to main content</a> + + <!-- Docs master nav --> + {% include nav-main.html %} + + <!-- Page content of course! --> + {{ content }} + + <!-- JS and analytics only. --> + {% include footer.html %} + </body> +</html> |