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{ %>