From 16a0994522892c4078225dd061617ad310fbe5c2 Mon Sep 17 00:00:00 2001 From: XPoet Date: Tue, 1 Sep 2020 18:52:48 +0800 Subject: [PATCH] refactor: modified article-meta-info.ejs --- layout/_partial/article-meta-info.ejs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/layout/_partial/article-meta-info.ejs b/layout/_partial/article-meta-info.ejs index 81a1899..e669091 100644 --- a/layout/_partial/article-meta-info.ejs +++ b/layout/_partial/article-meta-info.ejs @@ -31,14 +31,14 @@ <% } %> - <% if(theme.post_wordcount.wordcount){ %> - - <%= wordcount(page.content) %> <%- __('wordcount') %> + <% if(theme.post_wordcount.wordcount && is_post()){ %> + <% } %> - <% if(theme.post_wordcount.min2read){ %> -