适配最新bolo博客文章显示报错的问题

This commit is contained in:
LingZhaoHui 2021-04-03 22:11:31 +08:00
parent 92daec0353
commit ae3f91af4c
1 changed files with 9 additions and 10 deletions

View File

@ -156,16 +156,15 @@
</div> </div>
<a id="back-to-top" title="返回顶部" href="javascript:"><i class="fas fa-chevron-up"></i></a> <a id="back-to-top" title="返回顶部" href="javascript:"><i class="fas fa-chevron-up"></i></a>
<#include "footer.ftl"> <#include "footer.ftl">
<@comment_script oId=article.oId commentable=article.commentable> <@comment_script oId=article.oId commentable=article.commentable>
page.tips.externalRelevantArticlesDisplayCount = <#if 0 !=randomArticlesDisplayCount>
"${externalRelevantArticlesDisplayCount}"; page.loadRandomArticles('<h3>${randomArticlesLabel}</h3>');
<#if 0 !=randomArticlesDisplayCount> </#if>
page.loadRandomArticles('<h3>${randomArticlesLabel}</h3>'); <#if 0 !=relevantArticlesDisplayCount>
</#if> page.loadRelevantArticles('${article.oId}','<h3>${relevantArticlesLabel}</h3>');
<#if 0 !=relevantArticlesDisplayCount> </#if>
page.loadRelevantArticles('${article.oId}', '<h3>${relevantArticlesLabel}</h3>'); Skin.initArticle()
</#if> </@comment_script>
</@comment_script>
<script> <script>
// 延时检测右侧 “相关阅读” 是否为空,如果空则删除空 div好看些 // 延时检测右侧 “相关阅读” 是否为空,如果空则删除空 div好看些
/** /**