Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

搜索 #11

Open
tsuibin opened this issue Dec 11, 2015 · 2 comments
Open

搜索 #11

tsuibin opened this issue Dec 11, 2015 · 2 comments

Comments

@tsuibin
Copy link
Contributor

tsuibin commented Dec 11, 2015

搜索功能会调用
s.swiftypecdn.com/install/v2/st.js
然后会将LeanClub站点的内容显示出来

@tsuibin
Copy link
Contributor Author

tsuibin commented Dec 11, 2015

function initSearch(){
  (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','Qhvqw_z2NhPrz9xG5Shf','2.0.0');
  searchLoaded = true;
}

@typcn
Copy link
Owner

typcn commented Dec 11, 2015

暂时没有制作独立的搜索功能,你可以换上自己的 Key 或者使用其他一些软件搭建搜索引擎
On Sat, Dec 12, 2015 at 01:34 tsuibin [email protected] wrote:

搜索功能会调用
sswiftypecdncom/install/v2/stjs
然后会将LeanClub站点的内容显示出来


Reply to this email directly or view it on GitHub
#11.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants