Bruce 移除冗余代码
This commit is contained in:
parent
8f25e6e7c9
commit
15b8c65505
@ -58,12 +58,6 @@
|
|||||||
<#include "footer.ftl">
|
<#include "footer.ftl">
|
||||||
<@comment_script oId=article.oId>
|
<@comment_script oId=article.oId>
|
||||||
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount}";
|
||||||
<#if 0 != randomArticlesDisplayCount>
|
|
||||||
page.loadRandomArticles('<h4 class="ft-gray">${randomArticlesLabel}</h4>');
|
|
||||||
</#if>
|
|
||||||
<#if 0 != relevantArticlesDisplayCount>
|
|
||||||
page.loadRelevantArticles('${article.oId}', '<h4 class="ft-gray">${relevantArticlesLabel}</h4>');
|
|
||||||
</#if>
|
|
||||||
<#if 0 != externalRelevantArticlesDisplayCount>
|
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||||
</#if>
|
</#if>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user