mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
b253cb2c1e
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
37 lines
1.7 KiB
HTML
37 lines
1.7 KiB
HTML
<header class="navbar navbar-fixed-top bs-docs-nav" role="banner">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a href="{{ site.baseurl }}" class="navbar-brand">Bootstrap</a>
|
|
</div>
|
|
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
|
|
<ul class="nav navbar-nav">
|
|
<li{% if page.slug == "getting-started" %} class="active"{% endif %}>
|
|
<a href="{{ site.baseurl }}getting-started">Getting started</a>
|
|
</li>
|
|
<li{% if page.slug == "css" %} class="active"{% endif %}>
|
|
<a href="{{ site.baseurl }}css">CSS</a>
|
|
</li>
|
|
<li{% if page.slug == "components" %} class="active"{% endif %}>
|
|
<a href="{{ site.baseurl }}components">Components</a>
|
|
</li>
|
|
<li{% if page.slug == "js" %} class="active"{% endif %}>
|
|
<a href="{{ site.baseurl }}javascript">JavaScript</a>
|
|
</li>
|
|
<li{% if page.slug == "customize" %} class="active"{% endif %}>
|
|
<a href="{{ site.baseurl }}customize">Customize</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li><a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Navbar', 'Community links', 'Expo']);">Expo</a></li>
|
|
<li><a href="{{ site.blog }}" onclick="_gaq.push(['_trackEvent', 'Navbar', 'Community links', 'Blog']);">Blog</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</header>
|