From d09592730e002eed5765942e84ced101882f4ef0 Mon Sep 17 00:00:00 2001 From: Van Date: Sun, 17 Feb 2019 14:26:21 +0800 Subject: [PATCH] fix https://github.com/b3log/solo/issues/12651 --- yilia/article.ftl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/yilia/article.ftl b/yilia/article.ftl index 2633b37..de31006 100644 --- a/yilia/article.ftl +++ b/yilia/article.ftl @@ -116,7 +116,15 @@ + <#if 0 != relevantArticlesDisplayCount> +
+ + <#if 0 != randomArticlesDisplayCount> +
+ + <#if externalRelevantArticlesDisplayCount?? && 0 != externalRelevantArticlesDisplayCount>
+ <@comments commentList=articleComments article=article> @@ -127,6 +135,12 @@ <#if 0 != externalRelevantArticlesDisplayCount> page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,"); + <#if 0 != randomArticlesDisplayCount> + page.loadRandomArticles(); + + <#if 0 != relevantArticlesDisplayCount> + page.loadRelevantArticles('${article.oId}', '

${relevantArticles1Label}

'); +