Permalink
Browse files

style: baidu site search

  • Loading branch information...
MOxFIVE committed Jan 14, 2016
1 parent 044feac commit 1d6c09e6c18108cb44bfb087ede404a24f82ed78
@@ -17,8 +17,8 @@
<p class="header-subtitle"><%=theme.subtitle%></p>
<%}%>
<% if (theme.search_box){ %>
<form><input type="text" id="bdcsMain" class="search" placeholder=" Search..."></form>
<%- partial('baidu-search') %>
<form><input type="text" id="bdcsMain" class="search" placeholder=" Search..."></form>
<%- partial('_partial/baidu-search') %>
<%}%>
<%if(theme.tagcloud){%>
<div id="switch-btn" class="switch-btn">
@@ -108,4 +108,31 @@
$('#count').appendTo('.count');
</script>
<% } %>
<% if (page.path === "/search.html"){ %>
<style>
#page-visit {
display: none;
}
</style>
<div id="bdcs-frame-box"></div>
<script>
var bdcsFrameSid="18240140946075612580";
var bdcsFrameCharset= "utf-8";
var bdcsFrameWidth = 600;
var bdcsFrameWt = 1;
var bdcsFrameHt = 1;
var bdcsFrameResultNum = 10;
</script>
<script src="http://zhannei.baidu.com/static/js/iframe.js"></script>
<script src="http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
<script>
$(document).ready(function() {
$("#bdcs-frame-box").css({
"background": "transparent",
});
})
</script>
<% } %>
Oops, something went wrong.

0 comments on commit 1d6c09e

Please sign in to comment.