refactor: modified article-meta-info.ejs

This commit is contained in:
XPoet 2020-09-01 18:52:48 +08:00
parent bab731bfde
commit 16a0994522
1 changed files with 7 additions and 7 deletions

View File

@ -31,14 +31,14 @@
<i class="fa fa-eye"></i> <span id="busuanzi_value_page_pv"></span>
</span>
<% } %>
<% if(theme.post_wordcount.wordcount){ %>
<span class="post-count article-wc article-meta-item">
<i class="fa fa-book"></i> <span ><%= wordcount(page.content) %> <%- __('wordcount') %></span>
<% if(theme.post_wordcount.wordcount && is_post()){ %>
<span class="article-wordcount article-meta-item">
<i class="fa fa-book"></i> <span><%= wordcount(page.content) %> <%- __('wordcount') %></span>
</span>
<% } %>
<% if(theme.post_wordcount.min2read){ %>
<span class="post-count article-mr article-meta-item">
<i class="fa fa-clock-o"></i> <span ><%= min2read(page.content) %> <%- __('min2read') %></span>
<% if(theme.post_wordcount.min2read && is_post()){ %>
<span class="article-min2read article-meta-item">
<i class="fa fa-clock-o"></i> <span><%= min2read(page.content) %> <%- __('min2read') %></span>
</span>
<% } %>
</div>
</div>