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()){ %> + + <%= wordcount(page.content) %> <%- __('wordcount') %> <% } %> - <% if(theme.post_wordcount.min2read){ %> - - <%= min2read(page.content) %> <%- __('min2read') %> + <% if(theme.post_wordcount.min2read && is_post()){ %> + <% } %> - \ No newline at end of file +