File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 {% if site.feedback_disable == null or site.feedback_disable == false %}
4848 {% include feedback.html %}
4949 {% endif %}
50- <!--comment out this block if you want to hide search-->
50+ < li > < a href ="{{ site.baseurl }}/search "> < i class ="fa fa-search "> </ i > </ li >
51+ <!-- jekyll search hidden in favor of google
5152 <li>
52- <!--start search-->
5353 <div id="search-demo-container">
5454 <input type="text" id="search-input" placeholder="{{site.data.strings.search_placeholder_text}}">
5555 <ul id="results-container"></ul>
6666 fuzzy: true,
6767 })
6868 </script>
69- <!-- end search-->
69+ end search-->
7070 </ li >
7171 </ ul >
7272 </ div >
Original file line number Diff line number Diff line change 1919 with open (html_file ,'r' ) as filey :
2020 content = filey .read ()
2121 for search_name in search_names :
22- content = content .replace ('/ %s"' % (search_name ),'/ %s.html"' % (search_name ))
22+ content = content .replace ('%s"' % (search_name ),'%s.html"' % (search_name ))
2323 with open (html_file ,'w' ) as filey :
2424 filey .write (content )
Original file line number Diff line number Diff line change 1+ ---
2+ title : Search Singularity
3+ sidebar : main_sidebar
4+ permalink : search
5+ toc : false
6+ ---
7+
8+ <style >
9+ .cse .gsc-search-button input .gsc-search-button-v2 ,
10+ input .gsc-search-button-v2 {
11+ height : 26px !important ;
12+ margin-top : 0 !important ;
13+ min-width : 13px !important ;
14+ padding : 5px 26px !important ;
15+ width : 68px !important ;
16+ }
17+ </style >
18+
19+ <script >
20+ (function () {
21+ var cx = ' 010503388974132107851:rvx0hek_ybc' ;
22+ var gcse = document .createElement (' script' );
23+ gcse .type = ' text/javascript' ;
24+ gcse .async = true ;
25+ gcse .src = ' https://cse.google.com/cse.js?cx=' + cx;
26+ var s = document .getElementsByTagName (' script' )[0 ];
27+ s .parentNode .insertBefore (gcse, s);
28+ })();
29+ </script >
30+
31+ < gcse:search > </gcse: search >
32+
33+ {% include links.html %}
You can’t perform that action at this time.
0 commit comments