diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index b3eceab..e31e74f 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -22,7 +22,8 @@ <%- partial('post/tocbot') %> <% } %> - <% if (!theme.excerpt_all){ %> + <% if (theme.excerpt_all&&index){ %> + <% }else{ %>
<%- partial('post/justifiedGallery') %> <%- partial('post/gallery') %> @@ -41,8 +42,8 @@
<% } %> - <% } %> + <% if (((theme.copyright_type === 2) || (theme.copyright_type === 1 && post.copyright)) && !index){ %>