parent
8c21d45e0e
commit
a1c47dfcaa
2 changed files with 23 additions and 2 deletions
@ -0,0 +1,18 @@ |
|||||||
|
<% if(isPostList || !isPostList){ %> |
||||||
|
<% if (theme.word_count && !post.no_word_count) { %> |
||||||
|
<div class="new-meta-item wordcount"> |
||||||
|
<a class='notlink'> |
||||||
|
<i class="fas fa-keyboard" aria-hidden="true"></i> |
||||||
|
<p>字数统计:</p> |
||||||
|
<p><%= wordcount(post.content) %>字</p> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
<div class="new-meta-item readtime"> |
||||||
|
<a class='notlink'> |
||||||
|
<i class="fas fa-hourglass-half" aria-hidden="true"></i> |
||||||
|
<p>阅读时长≈</p> |
||||||
|
<p><%= min2read(post.content) %>分</p> |
||||||
|
</a> |
||||||
|
</div> |
||||||
|
<% } %> |
||||||
|
<% } %> |
Loading…
Reference in new issue