Permalink
Browse files

style(jQuery): move to <head>

  • Loading branch information...
MOxFIVE committed Mar 9, 2016
1 parent eeec050 commit ec77cdb34fd6e3a40345b81708c565bee508ff8d
@@ -1,7 +1,6 @@
<% if (theme.github_widget){ %>
<%- js('js/GithubRepoWidget') %>
<% } %>
<%- js('//cdn.bootcss.com/jquery/1.9.1/jquery.min') %>
<script data-main="/js/main.js" src="//cdn.bootcss.com/require.js/2.1.22/require.min.js"></script>
<%- partial('_partial/background') %>
<%- partial('google-analytics') %>
View
@@ -51,6 +51,7 @@
<% if (theme.fancybox){ %>
<%- css('fancybox/jquery.fancybox') %>
<% } %>
<%- js('//cdn.bootcss.com/jquery/1.9.1/jquery.min') %>
<script>
var yiliaConfig = {
fancybox: <%=theme.fancybox%>,
@@ -1,6 +1,5 @@
<% if (is_archive() || is_tag() || is_category()) { %>
<button class="hide-labels">TAG 开关</button>
<script src="http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js">
</script>
<script>
$(document).ready(function() {
View
@@ -99,7 +99,6 @@
</style>
<!-- Count tags and categories -->
<script src="http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
<p id="count">
已有<span><script>document.write($(".category-list-item").length)</script></span>个分类,
共计<span><script>document.write($(".tags > a").length)</script></span>个标签。
@@ -21,7 +21,6 @@
</div>
<%- list_posts({amount: 999}) %>
<script src="http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
<script>
$(".post-list").addClass("toc-article");
$(".post-list-item a").attr("target","_blank");
View
@@ -12,8 +12,6 @@
</style>
<input type="button" id="tocButton" value="隐藏目录" title="点击按钮隐藏或者显示文章目录">
<%- js('http://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min') %>
<script>
var valueHide = "隐藏目录";
var valueShow = "显示目录";

0 comments on commit ec77cdb

Please sign in to comment.