🎨 同步修改
This commit is contained in:
parent
aec4f644ba
commit
79ee0cb9c4
@ -99,8 +99,10 @@
|
|||||||
</#if>
|
</#if>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<div id="externalRelevantArticles" class="list"></div>
|
|
||||||
<@comments commentList=articleComments article=article></@comments>
|
<@comments commentList=articleComments article=article></@comments>
|
||||||
|
<div id="externalRelevantArticles" class="list"></div>
|
||||||
|
<div id="relevantArticles" class="list"></div>
|
||||||
|
<div id="randomArticles" class="list"></div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
<#include "side.ftl">
|
<#include "side.ftl">
|
||||||
@ -109,10 +111,16 @@
|
|||||||
<#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();
|
||||||
|
</#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>"
|
||||||
, "<header class='title'><h2>${externalRelevantArticlesLabel}</h2></header>");
|
, "<header class='title'><h2>${externalRelevantArticlesLabel}</h2></header>");
|
||||||
</#if>
|
</#if>
|
||||||
|
<#if 0 != relevantArticlesDisplayCount>
|
||||||
|
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticlesLabel}</h4>');
|
||||||
|
</#if>
|
||||||
</@comment_script>
|
</@comment_script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user