Add: 文章阅读数量统计

This commit is contained in:
XPoet 2020-03-25 23:23:05 +08:00
parent 0694550b6f
commit cffcd28638
2 changed files with 10 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<!-- date -->
<span class="article-date article-meta-item">
<i class="fa fa-calendar-o"></i> <%= date(articleObject.date, 'YYYY-MM-DD HH:mm:ss') %>
<i class="fa fa-calendar-o"></i> <%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %>
</span>
<!-- categories -->
@ -32,4 +32,12 @@
</ul>
</span>
<% } %>
<!-- page pv -->
<% if (theme.busuanzi_count.page_pv && is_post()) { %>
<span class="article-pv article-meta-item">
<i class="fa fa-eye"></i> <span id="busuanzi_value_page_pv"></span>
</span>
<% } %>
</div>

View File

@ -53,7 +53,7 @@ $nav-selected-color = #4a4a4a
$a-color = #666
// a
$a-hover-color = #135bce
$a-hover-color = #c625ce
//
$button-color = $default-font-color