File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/main/webapp/skins/9IPHP Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 99
99
</#if >
100
100
</div >
101
101
</footer >
102
- <div id =" externalRelevantArticles" class =" list" ></div >
103
102
<@comments commentList=articleComments article=article ></@comments >
103
+ <div id =" externalRelevantArticles" class =" list" ></div >
104
+ <div id =" relevantArticles" class =" list" ></div >
105
+ <div id =" randomArticles" class =" list" ></div >
104
106
</article >
105
107
</main >
106
108
<#include "side.ftl" >
109
111
<#include "footer.ftl" >
110
112
<@comment_script oId=article.oId >
111
113
page.tips.externalRelevantArticlesDisplayCount = "${externalRelevantArticlesDisplayCount} ";
114
+ <#if 0 != randomArticlesDisplayCount >
115
+ page.loadRandomArticles();
116
+ </#if >
112
117
<#if 0 != externalRelevantArticlesDisplayCount >
113
118
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag >${articleTag} <#if articleTag_has_next >,</#if ></#list >"
114
119
, "<header class =' title' ><h2 >${externalRelevantArticlesLabel} </h2 ></header >");
115
120
</#if >
121
+ <#if 0 != relevantArticlesDisplayCount >
122
+ page.loadRelevantArticles('${article.oId} ', '<h4 >${relevantArticlesLabel} </h4 >');
123
+ </#if >
116
124
</@comment_script >
117
125
</body >
118
126
</html >
You can’t perform that action at this time.
0 commit comments