This commit is contained in:
parent
8c273df068
commit
714fd85f3e
|
@ -91,8 +91,15 @@
|
|||
</div>
|
||||
<@comments commentList=articleComments article=article></@comments>
|
||||
</div>
|
||||
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
<div id="relevantArticles"></div>
|
||||
</#if>
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
<div id="randomArticles"></div>
|
||||
</#if>
|
||||
<#if externalRelevantArticlesDisplayCount?? && 0 != externalRelevantArticlesDisplayCount>
|
||||
<div id="externalRelevantArticles"></div>
|
||||
</#if>
|
||||
<div class="col-sm-2"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -104,6 +111,12 @@
|
|||
<#if 0 != externalRelevantArticlesDisplayCount>
|
||||
page.loadExternalRelevantArticles("<#list article.articleTags?split(",") as articleTag>${articleTag}<#if articleTag_has_next>,</#if></#list>");
|
||||
</#if>
|
||||
<#if 0 != randomArticlesDisplayCount>
|
||||
page.loadRandomArticles();
|
||||
</#if>
|
||||
<#if 0 != relevantArticlesDisplayCount>
|
||||
page.loadRelevantArticles('${article.oId}', '<h4>${relevantArticles1Label}</h4>');
|
||||
</#if>
|
||||
</@comment_script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -197,10 +197,6 @@ h4, h5, h6 {
|
|||
border-top: 1px solid #e5e5e5;
|
||||
}
|
||||
|
||||
.article-relative {
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
|
|
@ -28,9 +28,5 @@
|
|||
<div class="row cmtForm">
|
||||
<textarea rows="3" placeholder="${postCommentsLabel}" id="comment" class="form-control"></textarea>
|
||||
</div>
|
||||
|
||||
<#if externalRelevantArticlesDisplayCount?? && 0 != externalRelevantArticlesDisplayCount>
|
||||
<div id="externalRelevantArticles" class="row article-relative"></div>
|
||||
</#if>
|
||||
</#if>
|
||||
</#macro>
|
||||
|
|
|
@ -570,7 +570,7 @@ sup {
|
|||
|
||||
#externalRelevantArticles {
|
||||
width: 357px;
|
||||
margin-top: 13px;
|
||||
margin-top: 0;
|
||||
}
|
||||
/* end article*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue