aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/docs-nav.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-01-19 15:25:49 -0800
committerMark Otto <[email protected]>2015-01-19 15:25:49 -0800
commitd8c94029d32eada821ba094f7e948c718c5ef8f1 (patch)
treea887aaf11ff8eb2489bc05a0fc46177e7f7a2a11 /docs/_includes/docs-nav.html
parentfaedb7fec47388a02e7eb4afa0e7140bb76aa6be (diff)
downloadbootstrap-d8c94029d32eada821ba094f7e948c718c5ef8f1.tar.xz
bootstrap-d8c94029d32eada821ba094f7e948c718c5ef8f1.zip
move around files
Diffstat (limited to 'docs/_includes/docs-nav.html')
-rw-r--r--docs/_includes/docs-nav.html55
1 files changed, 0 insertions, 55 deletions
diff --git a/docs/_includes/docs-nav.html b/docs/_includes/docs-nav.html
deleted file mode 100644
index 6b3564cd9..000000000
--- a/docs/_includes/docs-nav.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<header class="navbar navbar-static-top bs-docs-sidebar" id="top" role="banner">
- <a href="{{ site.baseurl }}/" class="navbar-brand">
- Bootstrap
- </a>
-
- <div class="bs-docs-search">
- <input type="text" class="form-control" id="search-input" placeholder="Search...">
- <ul class="dropdown-menu bs-docs-search-results" id="search-results"></ul>
- </div>
-
- {% for group in site.data.nav %}
- {% assign link = group.pages | first %}
- {% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
- {% assign active = nil %}
-
- {% if page.url contains slug %}
- {% assign active = 'active' %}
- {% endif %}
-
- <div class="bs-docs-toc-item {{ active }}">
- <a class="bs-docs-toc-link" href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}">
- {{ group.title }}
- </a>
-
- <ul class="nav bs-docs-sidenav">
- {% for doc in group.pages %}
- {% assign slug = doc.title | downcase | replace: ' ', '-' %}
- {% assign active = nil %}
-
- {% if page.url contains slug %}
- {% assign active = 'active' %}
- {% endif %}
-
- <li class="{{ active }}">
- <a href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}">
- {{ doc.title }}
- </a>
-
- {% unless doc.sections == nil %}
- <ul class="nav">
- {% for section in doc.sections %}
- <li>
- <a href="{{ site.baseurl }}/{{ group.title | downcase | replace: ' ', '-' }}/{{ doc.title | downcase | replace: ' ', '-' }}/#{{ section.title | downcase | replace: ' ', '-' }}">
- {{ section.title }}
- </a>
- </li>
- {% endfor %}
- </ul>
- {% endunless %}
- </li>
- {% endfor %}
- </ul>
- </div>
- {% endfor %}
-</header>