添加站外文章
This commit is contained in:
@@ -78,13 +78,16 @@
|
||||
</footer>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
<div id="externalRelevantArticles"></div>
|
||||
<#include "side.ftl">
|
||||
</main>
|
||||
<#include "footer.ftl">
|
||||
<@comment_script oId=article.oId>
|
||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
</@comment_script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
* skin next style
|
||||
*
|
||||
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
|
||||
* @version 0.1.0.1, Jul 10, 2016
|
||||
* @version 0.1.1.1, Aug 23, 2016
|
||||
*/
|
||||
/* start reset */
|
||||
html {
|
||||
@@ -703,6 +703,14 @@ img {
|
||||
border-bottom: none;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#externalRelevantArticles h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#externalRelevantArticles ul {
|
||||
margin-top: 5px;
|
||||
}
|
||||
/* end article */
|
||||
|
||||
/* start comments */
|
||||
|
17
next/css/next.min.css
vendored
17
next/css/next.min.css
vendored
File diff suppressed because one or more lines are too long
15
next/js/next.min.js
vendored
15
next/js/next.min.js
vendored
@@ -1,16 +1 @@
|
||||
/*
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var NexT={init:function(){$(".sidebar-toggle").click(function(){var i=$(".sidebar");$(this).hasClass("sidebar-active")?($(this).removeClass("sidebar-active"),$("body").animate({"padding-right":0}),i.animate({right:-320})):($(this).addClass("sidebar-active"),$("body").animate({"padding-right":320}),i.animate({right:0}))}),$(".site-nav-toggle").click(function(){$(".site-nav").slideToggle()}),$(document).ready(function(){setTimeout(function(){$(".logo-wrap").css("opacity",1),$(".logo-line-before i").animate({left:"0"},function(){$(".site-title").css("opacity",1).animate({top:0},function(){$(".menu").css("opacity",1).animate({"margin-top":"15px"}),$(".main").css("opacity",1).animate({top:"0"})})}),$(".logo-line-after i").animate({right:"0"})},500)})},initArticle:function(){$(".b3-solo-list li").length>0&&$(window).width()>700&&($(".sidebar").html($(".b3-solo-list")),$(".sidebar-toggle").click())}};NexT.init();
|
@@ -13,7 +13,7 @@
|
||||
</#if>
|
||||
<nav>
|
||||
<div class="site-state-item">
|
||||
<a href="/archives">
|
||||
<a href="${servePath}/archives.html">
|
||||
<span class="site-state-item-count">${statistic.statisticPublishedBlogArticleCount}</span>
|
||||
<span class="site-state-item-name">${articleLabel}</span>
|
||||
</a>
|
||||
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
|
||||
<div class="site-state-item site-state-tags">
|
||||
<a href="/tags">
|
||||
<a href="${servePath}/dynamic.html">
|
||||
<span class="site-state-item-count">${statistic.statisticPublishedBlogCommentCount}</span>
|
||||
<span class="site-state-item-name">${commentLabel}</span>
|
||||
</a>
|
||||
|
@@ -22,5 +22,5 @@
|
||||
|
||||
name=next
|
||||
version=1.0.0
|
||||
forSolo=1.5.0
|
||||
forSolo=1.6.0
|
||||
memo=https://github.com/iissnan/hexo-theme-next
|
||||
|
Reference in New Issue
Block a user