适配最新bolo博客文章显示报错的问题
This commit is contained in:
parent
92daec0353
commit
ae3f91af4c
19
article.ftl
19
article.ftl
|
@ -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,好看些
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue