summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/components/search/se_js.html
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-17 19:19:20 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-17 21:01:20 +0100
commit4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a (patch)
tree3e671c486e329d2b67312cf7c6a4d81bff5c07ed /_includes/git-wiki/components/search/se_js.html
parent2e2c8eefe545b70e0d7c5f1286477a083aff1f06 (diff)
downloadwiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.tar.gz
wiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.tar.bz2
wiki-4e1a3540b9e9bcf8c95e2d61e674c7b9711dd99a.zip
v2.1.0 with blog feature implemented
Diffstat (limited to '_includes/git-wiki/components/search/se_js.html')
-rw-r--r--_includes/git-wiki/components/search/se_js.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/_includes/git-wiki/components/search/se_js.html b/_includes/git-wiki/components/search/se_js.html
new file mode 100644
index 0000000..9e75464
--- /dev/null
+++ b/_includes/git-wiki/components/search/se_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' | relative_url }}",
+ results : "#results"
+ });
+</script> \ No newline at end of file