fix: excerpt_all

This commit is contained in:
shenyu 2020-02-15 23:28:28 +08:00
parent 641abe0ae9
commit 4fcc3ff32b

View File

@ -22,7 +22,8 @@
<%- partial('post/tocbot') %> <%- partial('post/tocbot') %>
<% } %> <% } %>
<% if (!theme.excerpt_all){ %> <% if (theme.excerpt_all&&index){ %>
<% }else{ %>
<div class="article-entry" itemprop="articleBody"> <div class="article-entry" itemprop="articleBody">
<%- partial('post/justifiedGallery') %> <%- partial('post/justifiedGallery') %>
<%- partial('post/gallery') %> <%- partial('post/gallery') %>
@ -41,8 +42,8 @@
</div> </div>
<% } %> <% } %>
</div> </div>
<% } %> <% } %>
<!-- copyright --> <!-- copyright -->
<% if (((theme.copyright_type === 2) || (theme.copyright_type === 1 && post.copyright)) && !index){ %> <% if (((theme.copyright_type === 2) || (theme.copyright_type === 1 && post.copyright)) && !index){ %>
<div class="declare"> <div class="declare">