Last active
July 10, 2018 07:51
-
-
Save kosho/4f50a827c1cc21da75ffd440802cbc21 to your computer and use it in GitHub Desktop.
Elastic Site Serach Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head></head> | |
<body> | |
<form> | |
<input type="text" class="st-default-search-input" /> | |
</form> | |
<script type="text/javascript"> | |
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){ | |
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t); | |
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e); | |
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st'); | |
_st('install','__REPLACE_WITH_YOUR_KEY___','2.0.0'); | |
</script> | |
<div class="st-search-container"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment