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() +