aboutsummaryrefslogtreecommitdiff
path: root/_includes/docs-sidebar.html
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-04-09 23:53:45 +0300
committerXhmikosR <[email protected]>2018-04-27 10:22:58 +0300
commit30cb1a2715fc1f920fd225ce5f7452e77fc819f8 (patch)
treeffe982ec63f429cc8a98dfba8ef08527c19aafbd /_includes/docs-sidebar.html
parentb5988a4430138455d2e972fe6302ec089338a6e5 (diff)
downloadbootstrap-30cb1a2715fc1f920fd225ce5f7452e77fc819f8.tar.xz
bootstrap-30cb1a2715fc1f920fd225ce5f7452e77fc819f8.zip
Pass docs version to search form and switch to the new index.
Also, move the search code to a separate file.
Diffstat (limited to '_includes/docs-sidebar.html')
-rw-r--r--_includes/docs-sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/docs-sidebar.html b/_includes/docs-sidebar.html
index c0a0982bc..61edd8ec1 100644
--- a/_includes/docs-sidebar.html
+++ b/_includes/docs-sidebar.html
@@ -1,5 +1,5 @@
<form class="bd-search d-flex align-items-center">
- <input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off" data-siteurl="{{ site.url }}">
+ <input type="search" class="form-control" id="search-input" placeholder="Search..." aria-label="Search for..." autocomplete="off" data-siteurl="{{ site.url }}" data-docs-version="{{ site.docs_version }}">
<button class="btn btn-link bd-search-docs-toggle d-md-none p-0 ml-3" type="button" data-toggle="collapse" data-target="#bd-docs-nav" aria-controls="bd-docs-nav" aria-expanded="false" aria-label="Toggle docs navigation">
{%- include icons/menu.svg width="30" height="30" -%}
</button>