diff options
| author | Mark Otto <[email protected]> | 2014-12-24 02:44:38 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-12-24 02:44:38 -0800 |
| commit | 73e59c26e6ecfbc9a34745c6be1152834a0a8daf (patch) | |
| tree | 33f8de65dfd220ed0a43d9dcff5aab2538afaacc /docs/_includes | |
| parent | 952be04cb0b16f393b4440638cd5301a92cf3e43 (diff) | |
| download | bootstrap-73e59c26e6ecfbc9a34745c6be1152834a0a8daf.tar.xz bootstrap-73e59c26e6ecfbc9a34745c6be1152834a0a8daf.zip | |
basic docs search
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/docs-nav.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_includes/docs-nav.html b/docs/_includes/docs-nav.html index 996bfd9d1..6b3564cd9 100644 --- a/docs/_includes/docs-nav.html +++ b/docs/_includes/docs-nav.html @@ -2,6 +2,12 @@ <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: ' ', '-' %} |
