refactor: modified article-meta-info.ejs
This commit is contained in:
parent
bab731bfde
commit
16a0994522
|
@ -31,13 +31,13 @@
|
||||||
<i class="fa fa-eye"></i> <span id="busuanzi_value_page_pv"></span>
|
<i class="fa fa-eye"></i> <span id="busuanzi_value_page_pv"></span>
|
||||||
</span>
|
</span>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if(theme.post_wordcount.wordcount){ %>
|
<% if(theme.post_wordcount.wordcount && is_post()){ %>
|
||||||
<span class="post-count article-wc article-meta-item">
|
<span class="article-wordcount article-meta-item">
|
||||||
<i class="fa fa-book"></i> <span><%= wordcount(page.content) %> <%- __('wordcount') %></span>
|
<i class="fa fa-book"></i> <span><%= wordcount(page.content) %> <%- __('wordcount') %></span>
|
||||||
</span>
|
</span>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if(theme.post_wordcount.min2read){ %>
|
<% if(theme.post_wordcount.min2read && is_post()){ %>
|
||||||
<span class="post-count article-mr article-meta-item">
|
<span class="article-min2read article-meta-item">
|
||||||
<i class="fa fa-clock-o"></i> <span><%= min2read(page.content) %> <%- __('min2read') %></span>
|
<i class="fa fa-clock-o"></i> <span><%= min2read(page.content) %> <%- __('min2read') %></span>
|
||||||
</span>
|
</span>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
Loading…
Reference in New Issue