summaryrefslogtreecommitdiff
path: root/_includes/gw_tools/search_js.html
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-17 16:16:43 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-17 21:00:26 +0100
commit4feaace4929a07cc34c4bcd6c57334be2d95ec31 (patch)
tree8b2b272a40a9c002d8d0c18831fd95bd03a246e3 /_includes/gw_tools/search_js.html
parent1ffe35e8bed26b833bf873f6062a548aa26e2598 (diff)
downloadwiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.tar.gz
wiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.tar.bz2
wiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.zip
Implemented js search and SEO optimizations
Diffstat (limited to '_includes/gw_tools/search_js.html')
-rw-r--r--_includes/gw_tools/search_js.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/_includes/gw_tools/search_js.html b/_includes/gw_tools/search_js.html
new file mode 100644
index 0000000..673fb39
--- /dev/null
+++ b/_includes/gw_tools/search_js.html
@@ -0,0 +1,15 @@
+<div class="container">
+ <div class="well" id="searchbox">
+ <input id="search-field" placeholder="Search the Site"/>
+ <ul id="results"></ul>
+ </div>
+</div>
+
+<script src="{{ '/assets/js/jquery.camelhunter.min.js' | relative_url }}"></script>
+<script type="text/javascript">
+ $("#search-field").camelHunter({
+ onKeyUp : true,
+ rss: "/sitemap_full.xml",
+ results : "#results"
+ });
+</script> \ No newline at end of file