diff options
Diffstat (limited to 'themes/hexo-theme-freemind.bithack/layout/_partial/search.ejs')
m--------- | themes/hexo-theme-freemind.bithack | 0 | ||||
-rw-r--r-- | themes/hexo-theme-freemind.bithack/layout/_partial/search.ejs | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/themes/hexo-theme-freemind.bithack b/themes/hexo-theme-freemind.bithack deleted file mode 160000 -Subproject db335ebdc14507c7687084da084a56eb3d003f1 diff --git a/themes/hexo-theme-freemind.bithack/layout/_partial/search.ejs b/themes/hexo-theme-freemind.bithack/layout/_partial/search.ejs new file mode 100644 index 0000000..255ba7f --- /dev/null +++ b/themes/hexo-theme-freemind.bithack/layout/_partial/search.ejs @@ -0,0 +1,11 @@ +<% if (theme.swiftype_key) { %>
+ <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', '<%= theme.swiftype_key %>','2.0.0');
+ </script>
+<% } %>
+
|