From ee4ddec7150fb3779067ae2eabc2b6e0bb05415b Mon Sep 17 00:00:00 2001 From: monniya Date: Sun, 12 Mar 2017 16:37:49 +0800 Subject: [PATCH] update comments and aboutme --- _config.yml | 2 +- layout/layout.ejs | 1 - layout/post.ejs | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 2a31b85..cfad300 100644 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ menu: #Archives: /archives 黄金屋: /favourite 时光机: /favourite/time.html - #我是: /aboutme + 关于我: /aboutme rss: /atom.xml description: social: diff --git a/layout/layout.ejs b/layout/layout.ejs index f09a040..9635b41 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -12,7 +12,6 @@
<%- body %> - <%- partial('_partial/comments',{}) %> <%- partial('_partial/footer', {}) %>
diff --git a/layout/post.ejs b/layout/post.ejs index 8d3c2f3..7474de6 100644 --- a/layout/post.ejs +++ b/layout/post.ejs @@ -16,4 +16,8 @@ + <%- partial('_partial/read-more', {}) %> +<% if (page.comment || theme.page_comment) { %> + <%- partial('_partial/comments',{}) %> +<% } %> \ No newline at end of file