0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/docs/_layouts/default.html

65 lines
2.1 KiB
HTML
Raw Normal View History

2013-07-27 09:18:12 +02:00
<!DOCTYPE html>
2013-02-12 21:16:32 +01:00
<html lang="en">
<head>
<!-- Meta, title, CSS, favicons, etc. -->
{% include header.html %}
2013-02-12 21:16:32 +01:00
</head>
2013-07-27 04:25:45 +02:00
<body>
<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>
2013-02-12 21:16:32 +01:00
<!-- Docs master nav -->
{% include nav/main.html %}
<!-- Docs page layout -->
<div class="bs-docs-header" id="content" tabindex="-1">
2013-05-09 07:29:53 +02:00
<div class="container">
<h1>{{ page.title }}</h1>
2013-05-09 07:29:53 +02:00
<p>{{ page.lead }}</p>
{% include ads.html %}
</div>
2013-05-09 07:29:53 +02:00
</div>
2013-02-12 21:16:32 +01:00
2013-05-09 07:29:53 +02:00
<div class="container bs-docs-container">
<div class="row">
<div class="col-md-{% if page.fullwidth == true %}12{% else %}9{% endif %}" role="main">
2013-12-12 07:37:59 +01:00
{{ content }}
</div>
{% unless page.fullwidth == true %}
<div class="col-md-3" role="complementary">
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm">
<ul class="nav bs-docs-sidenav">
2013-05-09 20:40:39 +02:00
{% 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 %}
2013-09-11 21:30:46 +02:00
{% elsif page.slug == "about" %}
{% include nav/about.html %}
{% elsif page.slug == "migration" %}
{% include nav/migration.html %}
{% endif %}
</ul>
<a class="back-to-top" href="#top">
Back to top
</a>
2014-05-23 03:38:43 +02:00
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
<a href="#" class="bs-docs-theme-toggle" role="button">
2014-05-23 03:38:43 +02:00
Preview theme
</a>
{% endif %}
</nav>
</div>
{% endunless %}
</div>
</div>
2013-02-12 21:16:32 +01:00
{% include footer.html %}
2013-02-12 21:16:32 +01:00
</body>
</html>