From ae3f91af4c948046a07fd871e5decce7577ba87d Mon Sep 17 00:00:00 2001 From: zeekling Date: Sat, 3 Apr 2021 22:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=9C=80=E6=96=B0bolo?= =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E6=96=87=E7=AB=A0=E6=98=BE=E7=A4=BA=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- article.ftl | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/article.ftl b/article.ftl index df2d6e5..3bde1b2 100644 --- a/article.ftl +++ b/article.ftl @@ -156,16 +156,15 @@ <#include "footer.ftl"> - <@comment_script oId=article.oId commentable=article.commentable> - page.tips.externalRelevantArticlesDisplayCount = - "${externalRelevantArticlesDisplayCount}"; - <#if 0 !=randomArticlesDisplayCount> - page.loadRandomArticles('

${randomArticlesLabel}

'); - - <#if 0 !=relevantArticlesDisplayCount> - page.loadRelevantArticles('${article.oId}', '

${relevantArticlesLabel}

'); - - + <@comment_script oId=article.oId commentable=article.commentable> + <#if 0 !=randomArticlesDisplayCount> + page.loadRandomArticles('

${randomArticlesLabel}

'); + + <#if 0 !=relevantArticlesDisplayCount> + page.loadRelevantArticles('${article.oId}','

${relevantArticlesLabel}

'); + + Skin.initArticle() +