From 60fa21c1ee2a2f2cf3a1e1611d5d4d60f2d9df41 Mon Sep 17 00:00:00 2001 From: curben Date: Thu, 6 Jun 2019 20:57:28 +0930 Subject: [PATCH] fix(post): Display post content without excerpt https://hexo.io/docs/variables.html --- themes/typing/layout/_partial/article.ejs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/themes/typing/layout/_partial/article.ejs b/themes/typing/layout/_partial/article.ejs index 04926b2..bb4be0d 100644 --- a/themes/typing/layout/_partial/article.ejs +++ b/themes/typing/layout/_partial/article.ejs @@ -9,17 +9,8 @@ <% } %>
- <% if (post.excerpt && index) { %> - <%- post.excerpt %> - <% if (theme.excerpt_link) { %> -

- <%- link_to(url_for(post.path)+'#more', theme.excerpt_link) %> -

- <% } %> - <% } else { %> - <%- toc(page.content, {list_number: false}) %> - <%- post.content %> - <% } %> + <%- toc(page.more, {list_number: false}) %> + <%- post.more %>