fix: wordcount style

This commit is contained in:
shenyu
2020-01-07 20:13:38 +08:00
parent 11a4aaacf2
commit 42b387c94a
3 changed files with 11 additions and 7 deletions

View File

@@ -1,10 +1,8 @@
<% if (!theme.word_count.only_article_visit || (!index && theme.word_count.only_article_visit)){ %>
<div style="margin-top:10px;">
<div class="word_count">
<span class="post-time">
<span class="post-meta-item-icon">
<!-- fonts.scss -->
<!-- 百度字体平台:http://fontstore.baidu.com/static/editor/index.html -->
<i class="icon-statistics"></i>
<i class="ri-quill-pen-line"></i>
<span class="post-meta-item-text"> 字数统计:</span>
<span class="post-count"><%= wordcount(post.content) %>字</span>
</span>
@@ -13,9 +11,9 @@
<span class="post-time">
&nbsp; | &nbsp;
<span class="post-meta-item-icon">
<i class="icon-book icon"></i>
<i class="ri-book-open-line"></i>
<span class="post-meta-item-text"> 阅读时长≈</span>
<span class="post-count"><%= min2read(post.content) %>分</span>
<span class="post-count"><%= min2read(post.content) %>分</span>
</span>
</span>
</div>