fix(post): Display post content without excerpt

https://hexo.io/docs/variables.html
This commit is contained in:
curben 2019-06-06 20:57:28 +09:30
parent 9d09797f7d
commit 60fa21c1ee
1 changed files with 2 additions and 11 deletions

View File

@ -9,17 +9,8 @@
</header> </header>
<% } %> <% } %>
<div class="article-entry typo" itemprop="articleBody"> <div class="article-entry typo" itemprop="articleBody">
<% if (post.excerpt && index) { %> <%- toc(page.more, {list_number: false}) %>
<%- post.excerpt %> <%- post.more %>
<% if (theme.excerpt_link) { %>
<p class="article-more-link">
<%- link_to(url_for(post.path)+'#more', theme.excerpt_link) %>
</p>
<% } %>
<% } else { %>
<%- toc(page.content, {list_number: false}) %>
<%- post.content %>
<% } %>
</div> </div>
<footer class="article-footer"> <footer class="article-footer">
<ul class="article-meta"> <ul class="article-meta">