mirror of https://gitlab.com/curben/blog
fix(post): Display post content without excerpt
https://hexo.io/docs/variables.html
This commit is contained in:
parent
9d09797f7d
commit
60fa21c1ee
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue