mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Super massive docs overhaul
* Bring back the navbar up top * Pull the docs content back into separate pages because a 6.6k line docs file is just crazy * Recenter the page content and bring back affixed side nav (needs work)
This commit is contained in:
24
docs/_includes/nav-main.html
Normal file
24
docs/_includes/nav-main.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="navbar navbar-fixed-top bs-docs-nav">
|
||||
<div class="container">
|
||||
<a href="/" class="navbar-brand">Bootstrap</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li{% if page.slug == "welcome" %} class="active"{% endif %}>
|
||||
<a href="/welcome">Overview</a>
|
||||
</li>
|
||||
<li{% if page.slug == "css" %} class="active"{% endif %}>
|
||||
<a href="/css">CSS</a>
|
||||
</li>
|
||||
<li{% if page.slug == "components" %} class="active"{% endif %}>
|
||||
<a href="/components">Components</a>
|
||||
</li>
|
||||
<li{% if page.slug == "js" %} class="active"{% endif %}>
|
||||
<a href="/javascript">JavaScript</a>
|
||||
</li>
|
||||
<li{% if page.slug == "customize" %} class="active"{% endif %}>
|
||||
<a href="/customize">Customize</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user