|
|
@ -64,11 +64,11 @@ |
|
|
|
<br> |
|
|
|
<br> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 显示推荐文章和评论 --> |
|
|
|
<!-- 显示推荐文章和评论 --> |
|
|
|
<% if (post && ((config.recommended_posts.autoDisplay == false && post.recommended_posts != false) || post.comments )) { %> |
|
|
|
<% if (post && ((config.recommended_posts && config.recommended_posts.autoDisplay == false && post.recommended_posts != false) || (post.comments && (config.disqus_shortname || config.livere_shortname || config.valine)) )) { %> |
|
|
|
<article class="post white-box article-type-<%= post.layout %>>"> |
|
|
|
<article class="post white-box article-type-<%= post.layout %>>"> |
|
|
|
<section class="article typo"> |
|
|
|
<section class="article typo"> |
|
|
|
|
|
|
|
|
|
|
|
<% if (post && config.recommended_posts.autoDisplay == false && post.recommended_posts != false) { %> |
|
|
|
<% if (config.recommended_posts && config.recommended_posts.autoDisplay == false && post.recommended_posts != false) { %> |
|
|
|
<%- partial('post/recommended_posts', {page: post, site: site}) %> |
|
|
|
<%- partial('post/recommended_posts', {page: post, site: site}) %> |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
|
|
|
|
|
|
|
|