summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2020-04-01 10:01:29 +0800
committerBigCoke233 <hi@guhub.cn>2020-04-01 10:01:29 +0800
commit8514beabe39c26e705eaad98530f23fc3fdf42cd (patch)
tree771757986f32bcef3f10d5b60d3f417d604a23f6
parent344e6772d363d2905b2658700fcfa53e16691c9e (diff)
:railway_car: Perf: 更简易更直观地显示评论数
-rw-r--r--includes/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php
index 2da58a8..2d2e9ba 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -143,7 +143,7 @@
<?php if($this->fields->meta==''): ?>
<div class="header-meta-line-one">
<?php if($this->is('post')): ?><i class="iconfont icon-block" title="文章分类"></i> <?php $this->category(','); ?>&emsp;<?php endif; ?>
- <i class="iconfont icon-comments" title="共 <?php $this->commentsNum('0', '1', '%d'); ?> 条评论"></i> <?php $this->commentsNum('还没有评论', '仅一条评论', '%d'); ?>&emsp;
+ <i class="iconfont icon-comments" title="共 <?php $this->commentsNum('0', '1', '%d'); ?> 条评论"></i> <?php $this->commentsNum('0', '1', '%d'); ?>&emsp;
</div>
<div class="header-meta-line-two">
<i class="iconfont icon-clock" title="该文章发布于 <?php $this->date(); ?>"></i> <?php $this->date(); ?>&emsp;