diff options
| author | Mark Otto <[email protected]> | 2013-07-18 18:16:50 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-18 18:16:50 -0700 |
| commit | f771bf140d0ce64ccba63f5295a68600294fdc93 (patch) | |
| tree | 05771837343eda2259192fd07f5b30f3618f5499 /_layouts | |
| parent | 820558916f6b8d7d333de6d4d21404b75fd40fc2 (diff) | |
| parent | 7bb8817947dd6e453dc01a5131bc964a5d74e051 (diff) | |
| download | bootstrap-f771bf140d0ce64ccba63f5295a68600294fdc93.tar.xz bootstrap-f771bf140d0ce64ccba63f5295a68600294fdc93.zip | |
Merge branch 'bs3_rc1' into 3.0.0-wip
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 73 | ||||
| -rw-r--r-- | _layouts/home.html | 20 |
2 files changed, 93 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 000000000..30a261ce8 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,73 @@ + <!DOCTYPE html> +<html lang="en"> + <head> + <!-- Meta, title, CSS, favicons, etc. --> + {% include header.html %} + <!-- Place anything custom after this. --> + </head> + <body data-spy="scroll" data-target=".bs-sidebar"> + + <!-- Docs master nav --> + {% include nav-main.html %} + + <!-- Docs page layout --> + <div class="bs-header"> + <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-lg-3"> + <div class="bs-sidebar"> + <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 %} + {% endif %} + </ul> + </div> + </div> + <div class="col-lg-9"> + {{ content }} + </div> + </div> + + <!-- Quick back to top --> + <a href="#" class="bs-top"> + Back to top + </a> + + </div> + + <!-- Footer + ================================================== --> + <footer class="bs-footer"> + {% include social-buttons.html %} + + <p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> + <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> + <ul class="footer-links"> + <li><a href="http://blog.getbootstrap.com">Blog</a></li> + <li class="muted">·</li> + <li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li> + <li class="muted">·</li> + <li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li> + </ul> + </footer> + + <!-- JS and analytics only. --> + {% include footer.html %} + + </body> +</html> diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100644 index 000000000..9230184dc --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <!-- Meta, title, CSS, favicons, etc. --> + {% include header.html %} + <!-- Place anything custom after this. --> + </head> + <body class="bs-docs-home"> + + <!-- Docs master nav --> + {% include nav-main.html %} + + <!-- Page content of course! --> + {{ content }} + + <!-- JS and analytics only. --> + {% include footer.html %} + + </body> +</html> |
