添加站外文章

This commit is contained in:
Vanesssa
2016-08-23 17:29:32 +08:00
parent 5333d92e13
commit dd0447d5c3
55 changed files with 67 additions and 445 deletions

View File

@@ -66,6 +66,7 @@
</div>
</footer>
</article>
<div id="externalRelevantArticles" class="fn-wrap"></div>
<@comments commentList=articleComments article=article></@comments>
</main>
<#if nextArticlePermalink?? || previousArticlePermalink??>
@@ -93,7 +94,10 @@
<#include "footer.ftl">
<@comment_script oId=article.oId>
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
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>
</div>
</body>